CVE-2026-46344

liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Prior to 0.16.0, an out-of-bounds read has been identified in the XMSS and XMSS^MT stateful signature verification code. When the verification function is called with a correctly-sized signature buffer for the declared algorithm but a public key whose OID bytes (pk[0..3]) reference a different XMSS parameter set with a larger sig_bytes, the implementation re-parses the OID from the public key inside xmss_sign_open / xmssmt_sign_open and uses the resulting (larger) sig_bytes to index the caller-supplied signature buffer. As with CVE-2026-44518, the out-of-bounds bytes are consumed only as input to an internal hash computation and are not returned to the caller, so no oracle exists to leak their contents to an attacker. The primary observable effect is a possible crash (denial of service) of the verifying process if the read crosses into an unmapped memory page. This vulnerability is fixed in 0.16.0.
Configurations

Configuration 1 (hide)

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

History

22 Jul 2026, 06:10

Type Values Removed Values Added
Summary
  • (es) liboqs es una biblioteca criptográfica en lenguaje C que proporciona implementaciones de algoritmos de criptografía postcuántica. Antes de la versión 0.16.0, se ha identificado una lectura fuera de límites en el código de verificación de firma con estado de XMSS y XMSS^MT. Cuando se llama a la función de verificación con un búfer de firma de tamaño correcto para el algoritmo declarado pero una clave pública cuyos bytes OID (pk[0..3]) hacen referencia a un conjunto de parámetros XMSS diferente con un sig_bytes mayor, la implementación vuelve a analizar el OID de la clave pública dentro de xmss_sign_open / xmssmt_sign_open y utiliza el sig_bytes resultante (mayor) para indexar el búfer de firma proporcionado por el llamador. Al igual que con CVE-2026-44518, los bytes fuera de límites se consumen solo como entrada para un cálculo de hash interno y no se devuelven al llamador, por lo que no existe un oráculo para filtrar su contenido a un atacante. El efecto observable principal es un posible fallo (denegación de servicio) del proceso de verificación si la lectura cruza a una página de memoria no mapeada. Esta vulnerabilidad se corrige en la versión 0.16.0.

04 Jun 2026, 18:38

Type Values Removed Values Added
CPE cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*
First Time Openquantumsafe
Openquantumsafe liboqs
References () https://github.com/open-quantum-safe/liboqs/commit/077e32a94f39af02209dbbc680bf8a43b774b305 - () https://github.com/open-quantum-safe/liboqs/commit/077e32a94f39af02209dbbc680bf8a43b774b305 - Patch
References () https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-2wxh-55qf-c7wg - () https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-2wxh-55qf-c7wg - Patch, Vendor Advisory

29 May 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-29 19:16

Updated : 2026-07-22 06:10


NVD link : CVE-2026-46344

Mitre link : CVE-2026-46344

CVE.ORG link : CVE-2026-46344


JSON object : View

Products Affected

openquantumsafe

  • liboqs
CWE
CWE-125

Out-of-bounds Read