Skip to main content

libusb EUVDEUVD-2026-32500

| CVE-2026-47104 MEDIUM
Out-of-bounds Read (CWE-125)
2026-05-27 disclosure@vulncheck.com GHSA-fh6g-r8pf-wqgw
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Recon
    Access guest VM with USB passthrough enabled
  2. Delivery
    Craft USB descriptor with bLength set to (buffer_size - 1)
  3. Exploit
    Supply descriptor via USB passthrough to host/guest libusb process
  4. Install
    Invoke libusb_get_active_interface_association_descriptors() or libusb_get_interface_association_descriptors()
  5. C2
    Trigger off-by-one bounds bypass in parse_iad_array()
  6. Execute
    One-byte OOB read past malloc boundary
  7. Impact
    Crash target process (DoS)

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 attacker to operate within a virtualized environment where USB passthrough is enabled and attacker-controlled USB descriptor data can reach a process invoking libusb_get_active_interface_association_descriptors() or libusb_get_interface_association_descriptors(). The malformed descriptor must have its bLength field set to exactly (total_buffer_size - 1) - a precise off-by-one value, not an arbitrary large or small number. CVSS AV:L/PR:N confirms local access is required with no privileges needed (a low-privileged guest VM user qualifies). On physical hardware with legitimate USB devices, exploitation is not possible because real device firmware does not produce this exact malformed descriptor structure under attacker influence. Exploitation is further limited by: impact restricted to denial of service only with no demonstrated code execution path; the one-byte read scope making reliable information leakage impractical; and the non-automatable SSVC rating, meaning mass exploitation across unrelated targets is not feasible. Non-virtualized deployments using libusb directly with trusted hardware are not realistically at risk.

Impact

The CVSS 4.0 score of 5.1 (Medium) with vector AV:L/AC:L/AT:N/PR:N/UI:N is consistent with actual risk: local attack vector is the dominant limiting factor, confining exploitation to environments where an attacker can supply attacker-controlled USB descriptor data - primarily virtualized setups with USB passthrough enabled. Impact metrics (VC:N/VI:N/VA:L/SC:N/SI:N/SA:N) confirm the blast radius is limited to availability of the local libusb-consuming process, with no confidentiality or integrity impact assessed. SSVC aligns: exploitation none, not automatable, technical impact partial. The 'Information Disclosure' tag from VulnCheck is inconsistent with CVSS VC:N - this discrepancy is unresolved in available data; treat information disclosure as unconfirmed until clarified by vendor. The vulnerability is not in CISA KEV, confirming no known active exploitation. EPSS data is not available in the provided intelligence sources. The one-byte read scope further limits real-world impact: on hardened allocators or with AddressSanitizer, this triggers a crash; on production allocators, behavior depends on heap layout and is not reliably exploitable for anything beyond denial of service. Overall, this is a low-priority issue outside of virtualized USB passthrough deployments.

Exploit ScenarioDerived

An attacker with access to a guest VM in a virtualized environment where USB passthrough is enabled constructs a malformed USB configuration descriptor with the bLength field set to exactly (total descriptor buffer size - 1), then presents this descriptor to a host-side or guest-side process that calls libusb_get_active_interface_association_descriptors() or libusb_get_interface_association_descriptors(). The off-by-one in parse_iad_array() passes the bounds check and reads one byte past the end of the malloc allocation, which in memory-safe or hardened environments triggers an abort, crashing the libusb-dependent application and achieving denial of service. No public exploit code has been identified at time of analysis.

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 27, 2026

Out-of-bounds read in libusb's parse_iad_array() function (descriptor.c) affects all releases before 1.0.30, enabling local attackers in virtualized environments with USB passthrough to crash libusb-dependent processes via a crafted USB descriptor. The off-by-one error causes the bounds check to evaluate against the original total buffer size rather than the remaining unparsed size, allowing a one-byte read past the end of the malloc allocation when a descriptor's bLength is set to exactly (total_size - 1). No public exploit code exists and the vulnerability is absent from CISA KEV; a vendor-released patch is confirmed in v1.0.30.

RemediationAI

Upgrade to libusb v1.0.30 or later, which resolves the bounds-check error in parse_iad_array() as confirmed in commit 578ab76b4c434f8b204137ab6d7310689c7a9704 and the tagged release at https://github.com/libusb/libusb/releases/tag/v1.0.30. The upstream tracking issue is https://github.com/libusb/libusb/issues/1813 and the fix PR is https://github.com/libusb/libusb/pull/1814. For environments where an immediate upgrade is not feasible, the primary compensating control is to disable USB passthrough in the hypervisor configuration, which eliminates the attacker-controlled descriptor supply path entirely - note this will prevent guest VMs from using USB devices. If USB passthrough is operationally required, restrict it to trusted guest VMs and audit which processes invoke the affected libusb IAD APIs. Be aware that applications statically linking libusb must be recompiled and redeployed against v1.0.30 sources; a shared library upgrade alone will not remediate those consumers.

Affected VersionsENISA

libusb 0 <1.0.30

Affected Packages

pypi libusb fix: 1.0.30

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libusb is a widely used portable C library providing generic, cross-platform access to USB devices. The vulnerable function parse_iad_array() in libusb/descriptor.c parses Interface Association Descriptors (IADs), which group related USB interfaces into composite device functions. The CWE-125 (Out-of-bounds Read) root cause is a classic off-by-one in the loop's remaining-bytes tracking: when iterating through a raw USB configuration descriptor buffer, the check uses the original total buffer length rather than the progressively decremented remaining length, so a descriptor whose bLength equals (total_size - 1) passes the check but positions the read pointer one byte beyond the allocation boundary on the next access. The two public API entry points that invoke this parser - libusb_get_active_interface_association_descriptors() and libusb_get_interface_association_descriptors() - are the externally-reachable surfaces. Fix commit 578ab76b4c434f8b204137ab6d7310689c7a9704 (v1.0.30) also introduces a dedicated OSS-Fuzz harness (fuzz_descriptor_parsers.c) using exact-size malloc copies with AddressSanitizer, and adds regression corpus file regression_bug_b_iad_oob.bin specifically for this bug class, confirming the issue was discovered or validated through fuzz testing.

Know when Libusb 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 (vulncheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

DescriptionCVE.org

libusb before version 1.0.30 contains a one-byte out-of-bounds read vulnerability in parse_iad_array() in descriptor.c that allows attackers to trigger a denial of service by supplying a malformed USB descriptor whose bLength equals size minus one, causing the bounds check to use the original buffer size instead of the remaining size. Attackers in virtualized environments with USB passthrough can supply crafted descriptors through libusb_get_active_interface_association_descriptors or libusb_get_interface_association_descriptors to read one byte past the end of the malloc allocation, resulting in a denial of service.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
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 Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed
SUSE Linux Enterprise Micro 5.5 Fixed

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