Out-of-bounds Read in Libusb
CVE-2026-23679
- CVSS v3
- 6.2 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 8.3th percentile
- Published
- 2026-05-27
libusb before version 1.0.30 contains a NULL pointer dereference vulnerability that allows attackers to crash applications by supplying a malformed USB configuration descriptor where an interface claims bNumEndpoints greater than zero but is followed by a class-specific descriptor whose bLength exceeds the remaining buffer size, causing parse_interface() to return early without allocating the endpoint array. Attackers can exploit this flaw through libusb_get_active_config_descriptor or libusb_get_config_descriptor by providing crafted descriptors via virtualized USB passthrough, file-based descriptor parsing, or network sources, causing any application iterating over endpoints to dereference a NULL endpoint pointer and crash.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 8.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libusb — versions 0
Weakness classification (CWE)
References
- libusb 1.0.30 Release Notes (release-notes, Product, Release Notes)
- github.com/libusb/libusb/issues/1813 (issue-tracking, technical-description, Mitigation, Issue Tracking)
- github.com/libusb/libusb/pull/1814 (issue-tracking, Patch, patch, Issue Tracking)
- github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704 (Patch, patch)
- www.vulncheck.com/advisories/libusb-null-pointer-dereference-in-parse-interface (Patch, Third Party Advisory, third-party-advisory)