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

Configuration 1 (hide)

cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*

History

20 Aug 2025, 19:07

Type Values Removed Values Added
References () https://github.com/open-quantum-safe/liboqs/commit/cce1bfde4e52c524b087b9687020d283fbde0f24 - () https://github.com/open-quantum-safe/liboqs/commit/cce1bfde4e52c524b087b9687020d283fbde0f24 - Patch
References () https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-gpf4-vrrw-r8v7 - () https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-gpf4-vrrw-r8v7 - Patch, Vendor Advisory
First Time Openquantumsafe
Openquantumsafe liboqs
Summary
  • (es) liboqs es una libreria criptográfica en lenguaje C que proporciona implementaciones de algoritmos de criptografía postcuántica. Se ha identificado un error de corrección en la implementación de referencia del mecanismo de encapsulación de claves HQC. Debido a un error de indexación, parte de la clave secreta se trata incorrectamente como datos no secretos. Esto da como resultado que se devuelva un valor secreto compartido incorrecto cuando se llama a la función de desencapsulación con un texto cifrado mal formado. Esta vulnerabilidad se corrigió en la versión 0.12.0.
CPE cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*

06 Dec 2024, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-06 16:15

Updated : 2025-08-20 19:07


NVD link : CVE-2024-54137

Mitre link : CVE-2024-54137

CVE.ORG link : CVE-2024-54137


JSON object : View

Products Affected

openquantumsafe

  • liboqs
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor