Read the docs
TI-2024-36253 Aliases CVE-2024-54137

liboqs has a correctness error in HQC decapsulation

Priority LOW 35CWE-200Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00403 34th percentileScored 2026-11-07
Fix Fixed liboqs (open-quantum-safe): 0.12.0

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

VendorProductAffected versionsFixed inStatusSource
open-quantum-safeliboqsbefore 0.12.00.12.0Patch availableCNA
  • liboqs Vendoropen-quantum-safe Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*before 0.12.0Vulnerableopen-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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-54137

References

  • 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