# JLSEC-2026-665: libusb before version 1.0.30 contains a NULL pointer dereference vulnerability that allows attackers...

- Severity: Medium 5.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T14:59:33.004Z
- Modified: 2026-07-25T18:24:45.251Z
- Related: CVE-2026-23679, GHSA-jp69-qvgm-mqwx, EUVD-2026-32502

## Description

libusb before version 1.0.30 contains a NULL pointer dereference vulnerability that allows attackers to crash applications by supplying a malformed USB configuration descriptor where an interface claims bNumEndpoints greater than zero but is followed by a class-specific descriptor whose bLength exceeds the remaining buffer size, causing `parse_interface()` to return early without allocating the endpoint array. Attackers can exploit this flaw through `libusb_get_active_config_descriptor` or `libusb_get_config_descriptor` by providing crafted descriptors via virtualized USB passthrough, file-based descriptor parsing, or network sources, causing any application iterating over endpoints to dereference a NULL endpoint pointer and crash.

(As written by Julia Security Advisories.)

## Affected

- libusb_jll (Julia): before 1.0.30+0

## Every score

- Julia Security Advisories: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/advisories/GHSA-jp69-qvgm-mqwx> (web)
- <https://github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704> (web)
- <https://github.com/libusb/libusb/issues/1813> (web)
- <https://github.com/libusb/libusb/pull/1814> (web)
- <https://github.com/libusb/libusb/releases/tag/v1.0.30> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23679> (web)
- <https://www.vulncheck.com/advisories/libusb-null-pointer-dereference-in-parse-interface> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-665](https://osv.dev/vulnerability/JLSEC-2026-665), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-665 · Whole record: https://cve.day/JLSEC-2026-665.json · Rebuilt by cve.day 2026-11-25T22:56:26.196Z
