CVE-2024-54137: liboqs has a correctness error in HQC decapsulation
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.
Affected Software
Remediation
Event History
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.