Skip to main content

liboqs CVE-2026-44518

| EUVDEUVD-2026-33412 MEDIUM
Improper Input Validation (CWE-20)
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
    Identify service accepting XMSS signature verification
  2. Delivery
    Craft signature buffer shorter than parameter-set expected length
  3. Exploit
    Submit to verification endpoint
  4. Execution
    liboqs reads past buffer end
  5. Persist
    Overread crosses unmapped page
  6. Impact
    Verifying 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.

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

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 (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

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

EPSS Score
0.0%
Top 86% 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.

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

More in Liboqs

View all

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