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

High 7.4 Published Updated

An indexing error in liboqs HQC decapsulation incorrectly treats secret key data as public, potentially leaking secret information during malformed ciphertext processing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-54137?

CVE-2024-54137 is a high-severity vulnerability in open-quantum-safe liboqs, published on 6 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-200

Which versions are affected by CVE-2024-54137?

It affects 1 product.

Linux distribution packages (1)
liboqs openSUSE:TumbleweedAll versions0.12.0-1.1

Products include Openquantumsafe Liboqs.

How do I fix CVE-2024-54137?

Upgrade to a fixed version.

Is CVE-2024-54137 being exploited?

There is no known exploitation of CVE-2024-54137 in the wild and no public exploit code.

Sources

Also known as GHSA-gpf4-vrrw-r8v7, openSUSE-SU-2024:14580-1.

Is CVE-2024-54137 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free