# CVE-2026-46344: liboqs: Heap-buffer-overflow in XMSS verification path via OID-controlled parameter mismatch (xmss_commons.c:194)


- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 29 May 2026
- **Updated:** 29 May 2026
- **Also known as:** GHSA-2wxh-55qf-c7wg, openSUSE-SU-2026:11365-1

## What is CVE-2026-46344?

CVE-2026-46344 is a medium-severity vulnerability in open-quantum-safe liboqs, published on 29 May 2026. 

### Official 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.

Weakness: CWE-125 (Out-of-bounds Read)

## Which versions are affected by CVE-2026-46344?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `liboqs` | openSUSE:Tumbleweed | All versions | 0.16.0-2.1 |

Products: Openquantumsafe Liboqs.

## How do I fix CVE-2026-46344?

Upgrade to a fixed version.

## Is CVE-2026-46344 being exploited?

There is no known exploitation of CVE-2026-46344 in the wild and no public exploit code.

## Other vulnerabilities in open-quantum-safe liboqs

- [CVE-2024-31510](https://insights.sbomify.com/CVE-2024-31510/): Other in n/a (critical 9.8)
- [CVE-2024-54137](https://insights.sbomify.com/CVE-2024-54137/): liboqs has a correctness error in HQC decapsulation (high 7.4)
- [CVE-2025-52473](https://insights.sbomify.com/CVE-2025-52473/): liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20 (medium 5.9)
- [CVE-2024-36405](https://insights.sbomify.com/CVE-2024-36405/): Information disclosure in liboqs (medium 5.9)
- [CVE-2026-44518](https://insights.sbomify.com/CVE-2026-44518/): liboqs: XMSS Buffer Overread Bug (medium 5.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-46344 and fix it if it is affected.

What it is: CVE-2026-46344 is a medium-severity vulnerability in open-quantum-safe liboqs, published on 29 May 2026. 
Exploitation: There is no known exploitation of CVE-2026-46344 in the wild and no public exploit code.

Affected product: open-quantum-safe liboqs. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-46344/ (Markdown: https://insights.sbomify.com/CVE-2026-46344/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-46344
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-46344
- OSV: https://osv.dev/vulnerability/CVE-2026-46344

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-46344/
Summaries are generated and may contain mistakes; the official description above is the record.
