CVE-2026-47104
JSON

5.1medium

libusb < 1.0.30 Out-of-Bounds Read in parse_iad_array()

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
PYSEC-2026-3979

Description

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.

Affected

Product or packageVersionsReported by
libusb libusbbefore 1.0.30CVE List, NVD
libusb (PyPI)before 1.0.30PyPA Advisory Database

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

libusb antes de la versión 1.0.30 contiene una vulnerabilidad de lectura fuera de límites de un byte en parse_iad_array() en descriptor.c que permite a los atacantes desencadenar una denegación de servicio al proporcionar un descriptor USB malformado cuyo bLength es igual a tamaño menos uno, haciendo que la comprobación de límites use el tamaño original del búfer en lugar del tamaño restante. Los atacantes en entornos virtualizados con passthrough USB pueden proporcionar descriptores manipulados a través de libusb_get_active_interface_association_descriptors o libusb_get_interface_association_descriptors para leer un byte más allá del final de la asignación de malloc, lo que resulta en una denegación de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47104 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-47104 changed 2026-10-14Public domain
PyPA Advisory DatabasePYSEC-2026-3979 changed 2026-09-11CC-BY-4.0