CVE-2026-46344
Beschrijving NL
liboqs is een C-taal cryptografische bibliotheek die implementaties van post-quantum cryptografie-algoritmen biedt. Voorafgaand aan 0.16.0 is een out-of-bounds read geïdentificeerd in de XMSS en XMSS^ MT-stateful handtekeningverificatiecode. Wanneer de verificatiefunctie wordt aangeroepen met een handtekeningbuffer van de juiste grootte voor het gedeclareerde algoritme, maar een openbare sleutel waarvan de oid-bytes (pk[0..3]) verwijzen naar een andere XMSS-parameter die is ingesteld met een grotere sig_bytes, parseert de implementatie de oid opnieuw uit de openbare sleutel in xmss_sign_open /xmssmt_sign_open en gebruikt de resulterende (grotere) sig_bytes om de door de beller geleverde handtekeningbuffer te indexeren. Net als bij CVE-2026-44518 worden de out-of-bounds bytes alleen verbruikt als invoer voor een interne hashberekening en worden ze niet teruggestuurd naar de beller, dus er bestaat geen orakel om hun inhoud naar een aanvaller te lekken. Het primaire waarneembare effect is een mogelijke crash (denial of service) van het verificatieproces als de aflezing in een niet-toegewezen geheugenpagina terechtkomt. Deze kwetsbaarheid is opgelost in 0.16.0.
Origineel (Engels) tonen
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.