PYSEC-2026-3979

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/libusb/PYSEC-2026-3979.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-3979
Aliases
Published
2026-05-27T14:17:32Z
Modified
2026-09-11T12:00:03Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

PyPI / libusb

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.30

Affected versions

1.*
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.26b2
1.0.26b3
1.0.26b4
1.0.26b5
1.0.26rc2
1.0.26rc4
1.0.26
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

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/libusb/PYSEC-2026-3979.yaml"