---
id: "CVE-2026-96582"
kind: "vulnerability"
aliases: ["CVE-2026-96582"]
title: "USBX HID host: short report descriptor triggers heap out-of-bounds read"
severity: "medium"
cvss: 4.9
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["embedded", "runtime", "usb-host", "usbx"]
not_affected_if: []
published_at: "2026-10-20T14:17:04+00:00"
first_seen_at: "2026-10-23T21:57:20+00:00"
updated_at: "2026-10-25T04:32:45+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96582", "first_seen_at": "2026-10-23T21:57:20+00:00"}]
---

# USBX HID host: short report descriptor triggers heap out-of-bounds read

The USBX USB host stack reads past the end of a HID report descriptor when a peripheral sends a descriptor shorter than its item headers declare. An attacker-controlled USB device can cause a heap out-of-bounds read during enumeration, which can crash or leak memory.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-10-23T21:57:20+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-96582

## From the sources

A HID report descriptor is a sequence of items, each declaring in its header how many data bytes follow. The USBX host walks that sequence by advancing over each header and parsing the data behind it.



The walk checked that an item fitted in the descriptor only **after** it had advanced past the header and parsed the payload, and the item analysis it relied on never measured the declared sizes against the bytes actually received. A HID peripheral returning a short report descriptor therefore drove a heap out-of-bounds read during ordinary enumeration.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
