Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify service accepting XMSS signature verification
-
DeliveryCraft signature buffer shorter than parameter-set expected length
-
ExploitSubmit to verification endpoint
-
Executionliboqs reads past buffer end
-
PersistOverread crosses unmapped page
-
ImpactVerifying process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that the target application calls OQS_SIG_STFL_verify (or the equivalent XMSS/XMSS^MT-specific verification wrapper) with a signature buffer whose length is less than the expected signature length for the configured XMSS parameter set, AND that this shorter buffer is sourced from attacker-controlled input. The XMSS stateful signature feature must be compiled into the liboqs build (OQS_ENABLE_SIG_STFL_XMSS). The CVSS vector PR:N/UI:N confirms no authentication or user interaction is required at the network level, but the attacker must be able to supply the signature input to the verification call - meaning the application must expose signature verification to untrusted input. The crash is NOT guaranteed: it only occurs if the out-of-bounds read reaches an unmapped memory page, which depends on heap layout and OS memory protection. Applications that validate signature lengths before passing them to liboqs, or that only verify signatures from trusted sources, are not exploitable. |
| Impact | The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L scores 5.3 (Medium). Attack vector is Network, complexity is Low, and no privileges or user interaction are required, which at first glance suggests straightforward remote exploitation. However, the availability impact is rated Low (A:L) because the crash is conditional - it only materialises if the out-of-bounds read crosses into an unmapped memory page, which is architecture- and allocator-dependent. There is no confidentiality or integrity impact. No EPSS score was provided in the input data. No CISA KEV listing exists. No public exploit code has been identified. The 'Oracle' tag in the source data is misleading and directly contradicted by the CVE description, which explicitly states 'no oracle exists to leak their contents to an attacker.' Applications that call XMSS/XMSS^MT signature verification on externally supplied, unauthenticated data - such as signature validation services or TLS libraries integrating post-quantum schemes - carry the highest realistic risk, while deployments where signature inputs are trusted or pre-validated upstream face negligible exposure. |
| Exploit ScenarioDerived | An attacker targeting a network service that accepts XMSS or XMSS^MT signatures for verification - for example, a post-quantum-enabled certificate validation endpoint - submits a crafted request containing a signature buffer significantly shorter than the expected XMSS signature length (which is kilobytes for standard parameter sets). The verifying process, running a vulnerable liboqs version, reads past the end of the short buffer; if the overread crosses an unmapped page boundary, the process crashes with a segmentation fault, resulting in a denial-of-service condition. No exploit code has been publicly identified, but the test case committed alongside the fix (10-byte malicious_sig) provides a minimal proof-of-concept reproduction template in the upstream repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Out-of-bounds read in liboqs prior to 0.16.0 allows a remote unauthenticated attacker to crash the verifying process by supplying a truncated signature buffer to the XMSS or XMSS^MT stateful signature verification function. The missing caller-supplied length validation causes the implementation to read past the end of the buffer; the overread bytes feed into an internal hash computation only and are not returned to the caller, eliminating any data-leakage oracle. The primary real-world impact is a denial-of-service crash if the overread crosses an unmapped memory page. No public exploit or CISA KEV listing is identified at time of analysis.
RemediationAI
Upgrade liboqs to version 0.16.0, which contains the fix introduced by commit ef70dea7c85e5637f37828d75e5b9bb29dbfe513 (https://github.com/open-quantum-safe/liboqs/commit/ef70dea7c85e5637f37828d75e5b9bb29dbfe513). The vendor advisory is at https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-wf7v-fhxj-73m2. If an immediate upgrade is not feasible, a targeted compensating control is to reject or pre-validate that any signature buffer passed to OQS_SIG_STFL_verify is at least as long as the expected signature size for the chosen XMSS parameter set before calling the library - this mirrors exactly what the fix does internally. Disabling XMSS/XMSS^MT support at build time (by omitting OQS_ENABLE_SIG_STFL_XMSS) eliminates the vulnerable code path entirely, though this removes post-quantum stateful signature capability. No side effects are expected from upgrading to 0.16.0 beyond the new strict length check, which will now return OQS_ERROR for truncated signatures rather than proceeding.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
liboqs (open-quantum-safe/liboqs, CPE cpe:2.3:a:open-quantum-safe:liboqs:*:*:*:*:*:*:*:*) is an open-source C library implementing post-quantum cryptographic algorithms, including stateful hash-based signature schemes. The affected code resides in src/sig_stfl/xmss/sig_stfl_xmss_xmssmt.c, which implements the OQS_SIG_STFL_verify entry point for XMSS and XMSS^MT - stateful signature schemes standardized as part of NIST SP 800-208. The root cause is CWE-20 (Improper Input Validation): the verification function accepted a caller-supplied signature_len parameter and immediately began consuming the buffer in a hash computation without first checking that signature_len met the expected size for the selected parameter set. Real XMSS signatures are kilobytes in length; a 10-byte buffer is sufficient to trigger the overread. The commit ef70dea7c85e5637f37828d75e5b9bb29dbfe513 corrects this by inserting a strict equality guard - if signature_len != expected_length, OQS_ERROR is returned immediately - and adds a regression test (test_invalid_sig) that exercises exactly this path with a 10-byte malicious signature buffer.
Know when Liboqs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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 signature buffer shorter than the expected signature size for the given parameter set, the implementation does not validate the caller-supplied length and proceeds to read past the end of the buffer. 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An issue in Open Quantum Safe liboqs v.10.0 allows a remote attacker to escalate privileges via the crypto_sign_signatur
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Rate
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Rate
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Mult
Calling OQS_KEM_encaps_derand on any of six NTRU KEM variants in liboqs before 0.16.0 dereferences an uninitialized enca
A heap out-of-bounds read affects liboqs 0.11.0 through 0.16.0 when the library is built with OQS_ENABLE_SIG_STFL_LMS=ON
Out-of-bounds read in liboqs prior to 0.16.0 affects the XMSS and XMSS^MT stateful signature verification routines, expl
FrodoKEM decapsulation in liboqs 0.15.0 and earlier can leak private-key cache residency when the library is built with
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Rate
Same weakness CWE-20 – Improper Input Validation
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Fixed |
| openSUSE Leap 15.6 | Fixed |
EUVD-2026-33412
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB