Control-flow timing leak in Kyber reference implementation when compiled with Clang 15-18 for -Os, -O1 and other options
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-208.
Summary
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A control-flow timing lean has been identified in the reference implementation of the Kyber key encapsulation mechanism when it is compiled with Clang 15-18 for `-Os`, `-O1`, and other compilation options. A proof-of-concept local attack on the reference implementation leaks the entire ML-KEM 512 secret key in ~10 minutes using end-to-end decapsulation timing measurements. The issue has been fixed in version 0.10.1. As a possible workaround, some compiler options may produce vectorized code that does not leak secret information, however relying on these compiler options as a workaround may not be reliable.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| open-quantum-safe | liboqs | before 0.10.1 | 0.10.1 | Patch available | CNA |
- liboqs Vendoropen-quantum-safe Affected before 0.10.1 Fixed in 0.10.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:* | before 0.10.1 | Vulnerable | open-quantum-safe |
- cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:* Versions before 0.10.1 Vulnerable ·open-quantum-safe
Remediation
- Fix · CNA liboqs (open-quantum-safe) Fixed in 0.10.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-36405
References
Patch 3
More open-quantum-safe Liboqs vulnerabilities
- TI-2024-20867 An issue in Open Quantum Safe liboqs v.10.0 allows a remote attacker to escalate… CVSS 3.1CRITICAL 9.8
- TI-2024-36253 liboqs has a correctness error in HQC decapsulation CVSS 3.1HIGH 7.5
- TI-2026-34064 liboqs: Heap-buffer-overflow in XMSS verification path via OID-controlled parameter mismatch (xmss_commons.c:194) CVSS 3.1MEDIUM 5.3
- TI-2026-32448 liboqs: XMSS Buffer Overread Bug CVSS 3.1MEDIUM 5.3
- TI-2025-32600 liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20 CVSS 3.1MEDIUM 5.9
- TI-2025-31084 liboqs affected by theoretical design flaw in HQC CVSS 3.1LOW 3.7
Sources
- CVE-2024-36405 · CVE Program
- CVE-2024-36405 · NVD
- FIRST EPSS
- CVE-2024-36405 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences