Vulnerability · Published May 27, 2026 · Assigned by VulnCheck
CVE-2026-23679libusb < 1.0.30 NULL Pointer Dereference in parse_interface()
Medium 6.2
In plain English
A medium-severity out-of-bounds read in libusb from libusb. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libusb-1.0 | no fix listed | DEBIAN-CVE-2026-23679 |
| Debian:13 | libusb-1.0 | no fix listed | DEBIAN-CVE-2026-23679 |
| Debian:14 | libusb-1.0 | 2:1.0.30-1 | DEBIAN-CVE-2026-23679 |
| PyPI | libusb | 1.0.30 | PYSEC-2026-3978 |
| Ubuntu:22.04:LTS | libusb | no fix listed | UBUNTU-CVE-2026-23679 |
| Ubuntu:24.04:LTS | libusb | no fix listed | UBUNTU-CVE-2026-23679 |
| Ubuntu:25.10 | libusb | no fix listed | UBUNTU-CVE-2026-23679 |
| Ubuntu:26.04:LTS | libusb | no fix listed | UBUNTU-CVE-2026-23679 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/libusb/libusb/releases/tag/v1.0.30 release-notes
- https://github.com/libusb/libusb/issues/1813 issue-tracking
- https://github.com/libusb/libusb/pull/1814 issue-tracking
- https://github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704 patch
- https://www.vulncheck.com/advisories/libusb-null-pointer-dereference-in-parse-interface third-party-advisory