liboqs has a correctness error in HQC decapsulation
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
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-200.
Summary
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A correctness error has been identified in the reference implementation of the HQC key encapsulation mechanism. Due to an indexing error, part of the secret key is incorrectly treated as non-secret data. This results in an incorrect shared secret value being returned when the decapsulation function is called with a malformed ciphertext. This vulnerability is fixed in 0.12.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
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.12.0 | 0.12.0 | Patch available | CNA |
- liboqs Vendoropen-quantum-safe Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:* | before 0.12.0 | Vulnerable | open-quantum-safe |
- cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:* Versions before 0.12.0 Vulnerable ·open-quantum-safe
Remediation
- Fix · CNA liboqs (open-quantum-safe) Fixed in 0.12.0
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-54137
References
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-24191 Control-flow timing leak in Kyber reference implementation when compiled with Clang 15-18 for -Os, -O1 and other options 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-54137 · CVE Program
- CVE-2024-54137 · NVD
- FIRST EPSS
- CVE-2024-54137 · 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