PatchSiren

libusb CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM libusb CVE published 2026-05-27

CVE-2026-23679

libusb versions prior to 1.0.30 contain a NULL pointer dereference vulnerability in the `parse_interface()` function. The flaw occurs when a malformed USB configuration descriptor claims `bNumEndpoints > 0` but is followed by a class-specific descriptor with a `bLength` exceeding the remaining buffer size. This causes early return from `parse_interface()` without allocating the endpoint array, leaving a NULL pointer that triggers a crash when applications iterate over endpoints via `libusb_get_active_config_descriptor` or `libusb_get_config_descriptor`. Attack vectors include virtualized USB passthrough, file-based descriptor parsing, and network sources supplying crafted descriptors. The vulnerability was disclosed on 2026-05-27 and affects applications using libusb for USB device enumeration.

MEDIUM libusb CVE published 2026-05-27

CVE-2026-47104

libusb versions prior to 1.0.30 contain a one-byte out-of-bounds read vulnerability in the parse_iad_array() function within descriptor.c. The flaw occurs when processing malformed USB Interface Association Descriptors (IADs) where the bLength field equals the remaining buffer size minus one. This causes an incorrect bounds check that uses the original buffer size rather than the remaining size, permitting a read of one byte past the allocated heap memory. The vulnerability is reachable through the libusb_get_active_interface_association_descriptors() and libusb_get_interface_association_descriptors() API functions. Attackers in virtualized environments with USB passthrough capabilities can supply crafted descriptors to trigger denial of service conditions. The CVSS 4.0 vector indicates local attack vector with low attack complexity, no privileges required, and low availability impact. The vulnerability was disclosed on 2026-05-27 and is classified as CWE-125 (Out-of-bounds Read). A fix has been committed and released in version 1.0.30.