CVE-2025-48946

liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. liboqs prior to version 0.13.0 supports the HQC algorithm, an algorithm with a theoretical design flaw which leads to large numbers of malformed ciphertexts sharing the same implicit rejection value. Currently, no concrete attack on the algorithm is known. However, prospective users of HQC must take extra care when using the algorithm in protocols involving key derivation. In particular, HQC does not provide the same security guarantees as Kyber or ML-KEM. There is currently no patch for the HQC flaw available in liboqs, so HQC is disabled by default in liboqs starting from version 0.13.0. OQS will update its implementation after the HQC team releases an updated algorithm specification.
Configurations

Configuration 1 (hide)

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

History

25 Aug 2025, 14:06

Type Values Removed Values Added
First Time Openquantumsafe
Openquantumsafe liboqs
CPE cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*
References () https://durumcrustulum.com/2024/02/24/how-to-hold-kems/#hqc - () https://durumcrustulum.com/2024/02/24/how-to-hold-kems/#hqc - Product
References () https://github.com/open-quantum-safe/liboqs/commit/a7d698ca9c9d98990647459253183cbe29c550af - () https://github.com/open-quantum-safe/liboqs/commit/a7d698ca9c9d98990647459253183cbe29c550af - Patch
References () https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-3rxw-4v8q-9gq5 - () https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-3rxw-4v8q-9gq5 - Vendor Advisory
References () https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Wiu4ZQo3fP80 - () https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Wiu4ZQo3fP80 - Issue Tracking, Mailing List
Summary
  • (es) liboqs es una librería criptográfica en lenguaje C que proporciona implementaciones de algoritmos de criptografía poscuántica. Las versiones anteriores a la 0.13.0 de liboqs son compatibles con el algoritmo HQC, un algoritmo con un fallo de diseño teórico que provoca que un gran número de textos cifrados malformados compartan el mismo valor de rechazo implícito. Actualmente, no se conoce ningún ataque concreto contra el algoritmo. Sin embargo, los futuros usuarios de HQC deben tener especial cuidado al utilizarlo en protocolos que impliquen derivación de claves. En particular, HQC no ofrece las mismas garantías de seguridad que Kyber o ML-KEM. Actualmente no hay un parche disponible en liboqs para el fallo de HQC, por lo que HQC está deshabilitado por defecto a partir de la versión 0.13.0. OQS actualizará su implementación después de que el equipo de HQC publique una especificación actualizada del algoritmo.

30 May 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-30 20:15

Updated : 2025-08-25 14:06


NVD link : CVE-2025-48946

Mitre link : CVE-2025-48946

CVE.ORG link : CVE-2025-48946


JSON object : View

Products Affected

openquantumsafe

  • liboqs
CWE
CWE-327

Use of a Broken or Risky Cryptographic Algorithm