Advisory

PYSEC-2026-3979

Also known as: CVE-2026-47104

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-27 14:17 UTC
Modified
2026-09-11 12:00 UTC

Affected packages and fixes

libusb

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.30 (ecosystem)

Fixed versions

1.0.30

Fix

  • Fixed version 1.0.30
    pip install --upgrade libusb==1.0.30

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences