Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach untrusted LMS/HSS verifier (AV:N, PR:N)
-
DeliverySubmit plausible public key with truncated signature
-
ExploitTrigger out-of-bounds read past signature buffer
-
ExecutionRead crosses unmapped page
-
ImpactCrash verifying process (A:L denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of: (1) a liboqs build compiled with OQS_ENABLE_SIG_STFL_LMS=ON, which is NOT the default configuration; (2) a caller that invokes OQS_SIG_STFL_verify or the exported OQS_SIG_STFL_alg_lms_verify on LMS or HSS-LMS signatures obtained from an untrusted source; and (3) an attacker-supplied, syntactically plausible public key paired with a truncated signature shorter than the parsed HSS structure implies (as few as 4 bytes to hit the 0.16.0 is_hss_public_key() over-read, or ~12 bytes to hit the bottom-level q/C over-read of up to 32 bytes). No valid signature, no user interaction, and no authentication are needed. Limiting factors that reduce realistic risk: the non-default build flag, the need for the application to actually verify untrusted LMS/HSS input, and the fact that a crash only occurs if the out-of-bounds read reaches an unmapped memory page - otherwise the read is silent with no security impact. |
| Impact | This is a genuine but moderate-severity denial-of-service issue, not a high-priority emergency. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, base 5.3 MEDIUM) is internally consistent with the advisory: the sole impact is availability (A:L) via a possible verifier crash if the out-of-bounds read crosses into an unmapped page; confidentiality and integrity are rated N because the over-read bytes are consumed only inside an internal hash computation, are never returned to the caller, and cannot cause an invalid signature to be accepted - so despite the 'Information Disclosure' tag and CWE-125, there is no memory-disclosure oracle. The vuln.today decision label is 'this_month', consistent with medium urgency rather than act_now/emergency. No EPSS score and no CISA KEV status were supplied, and there is no confirmed public exploit code, so there is no signal of active or imminent widespread exploitation. The most important risk-reducing fact is that the flaw is reachable ONLY in builds configured with OQS_ENABLE_SIG_STFL_LMS=ON, which the advisory states is not enabled by default, and only in callers that verify LMS/HSS signatures from an untrusted source - this sharply narrows the real-world exposed population below what the network attack vector alone would suggest. Net: treat as a routine-to-prompt patch (within the month) for the subset of deployments that actually enable LMS verification of untrusted input, not as a drop-everything item. |
| Exploit ScenarioDerived | An application links a liboqs build compiled with OQS_ENABLE_SIG_STFL_LMS=ON and calls OQS_SIG_STFL_verify (or the exported OQS_SIG_STFL_alg_lms_verify) on LMS/HSS signatures received from an untrusted remote party. The attacker sends a syntactically plausible public key together with a deliberately truncated LMS/HSS signature (as few as 4-12 bytes); the parser reads up to 32 bytes (or up to 8 bytes via is_hss_public_key() in 0.16.0) past the end of the caller's buffer, and if that read lands on an unmapped page the verifying process crashes. No valid signature and no authentication are required; no confirmed working public exploit exists, though the fix commit, pull request #2507, and an included truncated-signature test harness are public and make reproduction straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
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 and an application passes an untrusted, truncated LMS or HSS-LMS signature to OQS_SIG_STFL_verify or OQS_SIG_STFL_alg_lms_verify. The parser reads up to 32 bytes past the caller-supplied buffer in all affected versions, and liboqs 0.16.0 additionally over-reads up to 8 bytes at offset 8 via is_hss_public_key() after only a 4-byte length check. The over-read bytes are only fed into an internal hash and never returned, so the supported impact is a possible verifier crash (denial of service) if the read crosses an unmapped page, not memory disclosure or acceptance of invalid signatures. No public exploit code was identified at time of analysis, EPSS is not reported, and the issue is not listed in CISA KEV; exploitation requires the non-default LMS build flag plus a caller that verifies untrusted signatures.
RemediationAI
Vendor-released patch: upgrade to liboqs 0.17.0, which fixes both over-reads by making is_hss_public_key() length-aware, passing signature_len through public_key_levels(), and rejecting bottom-level signatures shorter than 8 + n before any field is copied; the parser-level check also covers callers of the exported generic verify symbol that bypass wrapper validation. The fix commit is df3eb80fe68d2e5db0ecf5d503082cd5699e0859 (pull request #2507), and interim users on the main branch can apply that commit. If upgrading is not immediately possible, the compensating control is to rebuild without OQS_ENABLE_SIG_STFL_LMS=ON, removing LMS/HSS-LMS support entirely, with the trade-off that LMS stateful signatures become unavailable to the application; alternatively, restrict LMS/HSS verification to signatures from trusted sources at the application layer rather than directly from untrusted input, at the cost of losing the untrusted-verification capability that motivated enabling LMS support. Advisory: https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-wh5q-mpc8-67wf
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
The flaw is a missing-remaining-length validation (CWE-125) in the LMS/HSS stateful-signature verifier that liboqs vendors from cisco/hash-sigs. In hss_validate_signature_init() in src/sig_stfl/lms/external/hss_verify_inc.c, each level's consumed length is checked against the remaining signature_len, but nothing ensures enough bytes still remain for what follows; the function then unconditionally copies the bottom-level q field (4 bytes at offset 0) and the n-byte LM-OTS randomizer C (32 bytes at offset 8) into the message prefix, so a signature as short as 12 bytes produces an over-read of up to 32 bytes. liboqs 0.16.0 added public-key classification ahead of that walk, and is_hss_public_key() reads 4 bytes at offset 8 guarded only by a signature_len < 4 check, allowing up to 8 bytes of over-read from a 4-byte signature. Neither the generic OQS_SIG_STFL_verify entry point nor the LMS wrappers validated signature_len beforehand, because unlike the per-variant XMSS wrappers the single generic LMS wrapper had no compile-time signature-length constant to compare against. The out-of-bounds bytes are consumed only as hash input, giving no oracle for disclosure and no path to accepting an invalid signature.
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
Untrusted signature can arrive over the network with no auth or interaction (AV:N/AC:L/PR:N/UI:N); only impact is a possible verifier crash, so C:N/I:N/A:L, matching the vendor vector.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. From 0.11.0 through 0.16.0, builds configured with OQS_ENABLE_SIG_STFL_LMS=ON can read beyond a caller-supplied signature buffer when an untrusted truncated LMS or HSS-LMS signature reaches OQS_SIG_STFL_verify or OQS_SIG_STFL_alg_lms_verify. In hss_validate_signature_init() in src/sig_stfl/lms/external/hss_verify_inc.c, consumed-length checks do not ensure that the bottom-level q and C fields remain available, allowing up to 32 bytes to be read past the buffer. In version 0.16.0, is_hss_public_key() also reads at offset 8 after only a four-byte length check, allowing an over-read of up to eight bytes. No valid signature is required, but the public key must be syntactically plausible. The read data is consumed only by an internal hash and is not exposed, so the supported impact is a possible verifier crash and denial of service, not memory disclosure or acceptance of an invalid signature. This issue is scheduled to be fixed in version 0.17.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
Out-of-bounds read in liboqs prior to 0.16.0 allows a remote unauthenticated attacker to crash the verifying process by
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
EUVD-2026-118512
NVD
CVE.org
EPSS
GitHub
Exploit-DB