7.4
CWE
200
Advisory Published
Updated

CVE-2024-54137: liboqs has a correctness error in HQC decapsulation

First published: Fri Dec 06 2024(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
liboqs<0.12.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-54137?

    CVE-2024-54137 has been assigned a medium severity rating due to the potential compromise of secret keys.

  • How do I fix CVE-2024-54137?

    To mitigate CVE-2024-54137, update to the latest version of liboqs, ensuring you are using version 0.12.0 or later.

  • Who is affected by CVE-2024-54137?

    CVE-2024-54137 affects liboqs users, specifically those utilizing versions prior to 0.12.0.

  • What type of vulnerability is CVE-2024-54137?

    CVE-2024-54137 is a correctness error resulting from an indexing issue in the HQC key encapsulation mechanism.

  • What is the impact of CVE-2024-54137?

    The impact of CVE-2024-54137 can lead to the exposure of parts of the secret key, compromising data security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203