CVE-2024-54137

liboqs has a correctness error in HQC decapsulation

Published Dec 6, 2024 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-52308 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.
History
Type Values Removed Values Added
First Time appeared Openquantumsafe
Openquantumsafe liboqs
CPEs cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*
Vendors & Products Openquantumsafe
Openquantumsafe liboqs
Type Values Removed Values Added
Metrics epss

{'score': 0.00063}

epss

{'score': 0.0007}

Type Values Removed Values Added
First Time appeared Open Quantum Safe
Open Quantum Safe liboqs
CPEs cpe:2.3:a:open_quantum_safe:liboqs:*:*:*:*:*:*:*:*
Vendors & Products Open Quantum Safe
Open Quantum Safe liboqs
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title liboqs has a correctness error in HQC decapsulation
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 10, 2024, 4:10 PM
Reserved
Nov 29, 2024, 6:02 PM
Status
Analyzed
Published
Dec 6, 2024, 4:15 PM
Modified
Jun 17, 2026, 8:09 AM
Severity
Important
Public date
Dec 6, 2024, 4:00 PM