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 package | Versions | Reported by |
|---|---|---|
| libusb libusb | before 1.0.30 | CVE List, NVD |
| libusb (PyPI) | before 1.0.30 | PyPA Advisory Database |
All scores
| VulnCheck | 5.1medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| VulnCheck | 4.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| https://github.com/libusb/libusb/releases/tag/v1.0.30 | advisory, product, release-notes | |
| https://github.com/libusb/libusb/issues/1813 | issue-tracking, mitigation, report | |
| https://github.com/libusb/libusb/pull/1814 | fix, issue-tracking, patch | |
| https://github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704 | fix, patch | |
| https://www.vulncheck.com/advisories/libusb-out-of-bounds-read-in-parse-iad-array | fix, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47104 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-47104 changed 2026-10-14 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3979 changed 2026-09-11 | CC-BY-4.0 |