Skip to content
OpenAdvisories
High · 7.4 CVE-2024-54137 EUVD-2024-52308

liboqs has a correctness error in HQC decapsulation

Published Dec 6, 2024 · Updated Dec 10, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
open-quantum-safe liboqs < 0.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 liboqs 0.12.0-150600.3.3.1 SUSE-SU-2025:0005-1
SLES 15 SP6 oqs-provider 0.7.0-150600.3.3.1 SUSE-SU-2025:0005-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed liboqs 0.12.0-1.1 openSUSE-SU-2024:14580-1
openSUSE Leap 15.6 liboqs 0.12.0-150600.3.3.1 SUSE-SU-2025:0005-1
openSUSE Leap 15.6 oqs-provider 0.7.0-150600.3.3.1 SUSE-SU-2025:0005-1

Advisories 2

References