Skip to main content

liboqs EUVDEUVD-2026-33413

| CVE-2026-46344 MEDIUM
Out-of-bounds Read (CWE-125)
2026-05-29 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft public key with mismatched XMSS OID bytes
  2. Delivery
    Submit crafted key with correctly-sized signature buffer to verify endpoint
  3. Exploit
    Library re-parses OID from attacker-controlled public key, selecting larger parameter set
  4. Execution
    Inflated sig_bytes drives out-of-bounds read past buffer end in xmss_commons.c
  5. Impact
    Read crosses unmapped memory page, crashing the verifying process

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 the target application to use liboqs prior to 0.16.0 specifically for XMSS or XMSS^MT stateful signature verification, and to pass public keys sourced from attacker-controlled or attacker-influenced input into OQS_SIG_STFL_verify. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms that no authentication is required and no user interaction is needed - any network-reachable endpoint invoking the affected verification function with externally supplied public keys is exploitable without credentials. The attack does not require a malformed signature; the signature buffer must be correctly sized for the declared algorithm variant, making detection by signature-length checks ineffective, while only the public key's first four OID bytes need to be altered. Exploitation is inherently limited by two factors: first, XMSS and XMSS^MT are stateful schemes typically deployed in tightly controlled environments such as firmware signing or PKI infrastructure rather than general-purpose TLS endpoints, meaning the exposed attack surface is narrower than a typical cryptographic library flaw; second, the DoS effect is probabilistic - a crash occurs only if the out-of-bounds read address happens to fall in an unmapped memory page, so some malformed requests may be silently absorbed. The vulnerability does not leak memory contents to the attacker under any described scenario, contrary to the 'Information Disclosure' and 'Oracle' metadata tags attached to this CVE.

Impact

The CVSS 3.1 base score of 5.3 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L reflects network-accessible, unauthenticated, low-complexity exploitation with availability impact only - consistent with a remotely triggerable denial of service. Confidentiality and integrity scores of N are corroborated by the CVE description's explicit statement that OOB bytes are not returned to the caller, making memory disclosure technically infeasible under the described conditions. EPSS data is not present in the provided intelligence, so exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. A PoC scenario is embedded in the upstream test suite (test_sig_stfl.c sub-case 2) as part of the fix commit, which reduces time-to-exploit for a technically capable attacker who studies the patch, but this does not constitute a standalone external exploit. A critical discrepancy exists in the source metadata: the CVE tags include 'Information Disclosure' and 'Oracle,' which directly contradict the CVE description's assertion that no oracle exists; the technical description and the fix commit comments are more authoritative on this point, and the tags are assessed as inaccurate metadata. Realistic risk is moderate: a service accepting externally-supplied XMSS public keys could be crashed remotely with a single malformed request, but XMSS is a stateful scheme typically deployed in controlled environments, limiting the population of exposed services.

Exploit ScenarioDerived

An attacker targeting a network service that uses liboqs for XMSS^MT signature verification sends a crafted request containing a legitimately sized signature buffer paired with a public key whose first four OID bytes are replaced to reference a heavier XMSS parameter set - for example, setting pk[3] = 0x02 as demonstrated in the upstream test suite for the XMSS-SHA2_10_256 variant. The liboqs verify function re-parses the OID from the attacker-controlled public key, computes a sig_bytes value larger than the supplied buffer, and passes this inflated offset into xmss_commons.c's hash computation path. If the resulting read address falls in an unmapped memory page, the verifying process crashes, producing a denial of service with no user interaction required beyond the initial crafted request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Out-of-bounds read in liboqs prior to 0.16.0 affects the XMSS and XMSS^MT stateful signature verification routines, exploitable by any unauthenticated remote attacker who can supply a crafted public key to a verifying process. The flaw arises when a correctly-sized signature buffer is paired with a public key whose OID bytes reference a different XMSS parameter set, causing the library to derive a larger sig_bytes value and index past the end of the caller-supplied buffer, with the primary observable effect being a process crash. No active exploitation is confirmed (not in CISA KEV) and no independently published exploit has been identified at time of analysis, though a proof-of-concept scenario is embedded in the upstream fix commit's test suite.

RemediationAI

Upgrade liboqs to version 0.16.0, which incorporates the fix via commit 077e32a94f39af02209dbbc680bf8a43b774b305 (https://github.com/open-quantum-safe/liboqs/commit/077e32a94f39af02209dbbc680bf8a43b774b305). The patch adds an OID consistency check at the entry of each XMSS/XMSS^MT verify wrapper so that any public key whose embedded OID does not match the expected OID for the invoked algorithm variant is rejected before internal re-parsing can occur. The full vendor advisory is at https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-2wxh-55qf-c7wg. Where immediate patching is not possible, the primary compensating control is to ensure that public keys passed to XMSS/XMSS^MT verification routines originate only from authenticated, trusted sources - this does not eliminate the bug but restricts who can trigger it. Additionally, restricting or rate-limiting any network-facing endpoint that accepts public keys for signature verification reduces the availability impact of a DoS attempt. Note that neither compensating control addresses the underlying memory safety defect; patching to 0.16.0 remains the only definitive fix.

Affected VersionsENISA

liboqs < 0.16.0

Affected Packages

euvd liboqs fix: 0.16.0

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 (CPE: cpe:2.3:a:open-quantum-safe:liboqs:*:*:*:*:*:*:*:*) is an open-source C library from the Open Quantum Safe project implementing post-quantum cryptography algorithms, including XMSS and XMSS^MT - stateful hash-based signature schemes. CWE-125 (Out-of-bounds Read) describes the root cause: within xmss_sign_open and xmssmt_sign_open, the implementation re-parses the XMSS parameter OID directly from the caller-supplied public key buffer (bytes pk[0..3]) rather than trusting the algorithm variant selected by the invoking wrapper. An adversary who supplies a public key with OID bytes pointing to a heavier parameter set - one with a larger sig_bytes value - causes the internal hash path in xmss_commons.c to index the caller-supplied signature buffer at an offset beyond its allocated length. Because the out-of-bounds bytes are consumed only as hash input and never returned to the caller, no memory-disclosure oracle is created. The fix in commit 077e32a adds an explicit OID consistency check in the verify wrapper, extracting the four-byte OID from the public key and comparing it against the OID hardcoded for the invoking algorithm variant before any internal re-parsing occurs; mismatches return OQS_ERROR immediately. This vulnerability is a sibling of CVE-2026-44518 (GHSA-wf7v-fhxj-73m2), which addresses a complementary OOB read triggered by an undersized 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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SUSE MEDIUM
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
May 29, 2026 - 20:02 EUVD

DescriptionCVE.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 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy