CVE-2024-54137

HIGH
Published Dec 6, 2024 Modified Aug 20, 2025 CWE-200

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.

Is your site exposed to CVE-2024-54137?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.4
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness Type (CWE)

CWE-200 CWE-200

Affected Products

Vendor Product
openquantumsafe liboqs

References

Frequently Asked Questions

What is CVE-2024-54137? +
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. It has a CVSS v3.1 base score of 7.4 (HIGH).
How severe is CVE-2024-54137? +
CVE-2024-54137 has a CVSS v3.1 score of 7.4 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-54137? +
CVE-2024-54137 affects products from openquantumsafe, specifically: liboqs. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-54137? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-54137 — free, no signup required.