CVE-2026-46344 liboqs: Heap-buffer-overflow in XMSS verification path via OID-controlled parameter mismatch (xmss_commons.c:194)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/liboqs(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| openquantumsafe liboqs | <= 0.15.0 | after 0.15.0 | Fixed |
| open-quantum-safe liboqs | = < 0.16.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-quantum-safe liboqs | = < 0.16.0 | No fix listed |
| redhat/liboqs(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| openquantumsafe liboqs | <= 0.15.0 | No fix listed |
References
- https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-2wxh-55qf-c7wg patch vendor-advisory
- https://github.com/open-quantum-safe/liboqs/commit/077e32a94f39af02209dbbc680bf8a43b774b305 patch
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2483418 issue-tracking
- www.cve.org
- nvd.nist.gov