PYSEC-2026-3979
Vulnerability from pysec - Published: 2026-05-27 14:17 - Updated: 2026-09-11 11:34libusb 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.
| Name | purl | libusb | pkg:pypi/libusb |
|---|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "PyPI",
"name": "libusb",
"purl": "pkg:pypi/libusb"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.30"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.22b2",
"1.0.22b4",
"1.0.22b8",
"1.0.22b9",
"1.0.23b1",
"1.0.23b7",
"1.0.24b1",
"1.0.24b3",
"1.0.26",
"1.0.26b2",
"1.0.26b3",
"1.0.26b4",
"1.0.26b5",
"1.0.26rc2",
"1.0.26rc4",
"1.0.27",
"1.0.27.post1",
"1.0.27.post2",
"1.0.27.post3",
"1.0.27.post4",
"1.0.28",
"1.0.28.post1",
"1.0.28.post2",
"1.0.29",
"1.0.29.post1",
"1.0.29.post3",
"1.0.29.post4",
"1.0.29.post6",
"1.0.29.post7",
"1.0.30rc1",
"1.0.30rc2"
]
}
],
"aliases": [
"CVE-2026-47104"
],
"details": "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.",
"id": "PYSEC-2026-3979",
"modified": "2026-09-11T11:34:16.154754Z",
"published": "2026-05-27T14:17:32.590Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/libusb/libusb/releases/tag/v1.0.30"
},
{
"type": "REPORT",
"url": "https://github.com/libusb/libusb/issues/1813"
},
{
"type": "FIX",
"url": "https://github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704"
},
{
"type": "FIX",
"url": "https://github.com/libusb/libusb/pull/1814"
},
{
"type": "FIX",
"url": "https://www.vulncheck.com/advisories/libusb-out-of-bounds-read-in-parse-iad-array"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.