CVE-2026-23679
6.2 MEDIUMlibusb before version 1.0.30 contains a NULL pointer dereference vulnerability that allows attackers to crash applications by supplying a...
Published: 2026-05-27 · Last updated: 2026-05-28
Severity and scoring
- CVSS
- 6.2 MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-125
Affected products
| Vendor | Product |
|---|---|
| libusb | libusb |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-23679
- [Patch]https://github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704
- [Other]https://github.com/libusb/libusb/issues/1813
- [Patch]https://github.com/libusb/libusb/pull/1814
- [Other]https://github.com/libusb/libusb/releases/tag/v1.0.30
- [Patch]https://www.vulncheck.com/advisories/libusb-null-pointer-dereference-in-parse-interface
- [Other]https://github.com/libusb/libusb/issues/1813
Related CVEs
Same vendor
- CVE-2026-47104 — libusb before version 1.0.30 contains a one-byte out-of-bounds read vulnerability in parse_iad_array() in descriptor.c that allows attack... (4.0 MEDIUM)
Same CWE
- CVE-2026-4367 — A flaw was found in libXpm (5.5 MEDIUM)
- CVE-2026-47963 — DNG SDK versions 1.7.1 2536 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive me... (5.5 MEDIUM)
- CVE-2026-47934 — DNG SDK versions 1.7.1 2536 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive me... (5.5 MEDIUM)
- CVE-2026-47927 — DNG SDK versions 1.7.1 2536 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive me... (5.5 MEDIUM)
- CVE-2026-47748 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (5.5 MEDIUM)