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.
Published: 2024-12-06
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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

Wed, 20 Aug 2025 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Openquantumsafe
Openquantumsafe liboqs
CPEs cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*
Vendors & Products Openquantumsafe
Openquantumsafe liboqs

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00063}

epss

{'score': 0.0007}


Wed, 28 May 2025 16:45:00 +0000

Type Values Removed Values Added
References

Thu, 22 May 2025 06:15:00 +0000


Tue, 10 Dec 2024 16:15:00 +0000

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'}


Tue, 10 Dec 2024 02:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 06 Dec 2024 16:15:00 +0000

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'}


Subscriptions

Open Quantum Safe Liboqs
Openquantumsafe Liboqs
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-12-10T16:10:59.900Z

Reserved: 2024-11-29T18:02:16.755Z

Link: CVE-2024-54137

cve-icon Vulnrichment

Updated: 2024-12-10T16:10:51.922Z

cve-icon NVD

Status : Analyzed

Published: 2024-12-06T16:15:22.637

Modified: 2025-08-20T19:07:12.157

Link: CVE-2024-54137

cve-icon Redhat

Severity : Important

Publid Date: 2024-12-06T16:00:58Z

Links: CVE-2024-54137 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses