Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-96582 Overview
CVE-2026-96582 is an out-of-bounds read vulnerability [CWE-125] in the Eclipse ThreadX USBX host stack. The flaw affects how the USBX host parses Human Interface Device (HID) report descriptors returned by attached USB peripherals during enumeration. A malicious or malformed HID peripheral that returns a truncated report descriptor can drive the host into reading memory beyond the allocated descriptor buffer. The condition occurs during ordinary enumeration, before any application-level interaction with the device.
Critical Impact
A rogue USB HID peripheral can trigger a heap out-of-bounds read in the USBX host during enumeration, resulting in information disclosure or denial of service on embedded systems using Eclipse ThreadX.
Affected Products
- Eclipse ThreadX USBX host stack
- Embedded devices and real-time systems integrating USBX for HID host functionality
- Downstream firmware builds consuming the vulnerable USBX HID descriptor parser
Discovery Timeline
- 2026-10-20 - CVE-2026-96582 published to the National Vulnerability Database
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-96582
Vulnerability Analysis
A HID report descriptor is a sequence of items. Each item header declares how many data bytes follow. The USBX host walks the descriptor by advancing over each header and parsing the payload behind it. The walk validates that an item fits inside the descriptor only after advancing past the header and parsing the payload. The item analysis routine never compares the declared item sizes against the actual byte count received from the device. A short or truncated descriptor therefore causes the parser to read past the end of the allocated heap buffer. The resulting out-of-bounds read can leak adjacent heap memory contents or crash the host stack, depending on heap layout.
Root Cause
The root cause is missing bounds validation before dereferencing descriptor payload bytes. The parser trusts the declared length field in each HID item header without first confirming that the full item length remains within the bytes actually received from the peripheral. This is a classic [CWE-125] out-of-bounds read introduced by ordering the length check after the payload read.
Attack Vector
Exploitation requires physical access. An attacker connects a crafted USB device that advertises itself as a HID peripheral and returns an undersized report descriptor during enumeration. User interaction is required because a user must insert the device or approve the connection. No authentication or privileges on the target are required. The attack affects availability primarily, with limited confidentiality impact from potential heap memory disclosure.
The vulnerability manifests inside the USBX HID descriptor walk. See the GitHub Security Advisory for the specific functions and commit references.
Detection Methods for CVE-2026-96582
Indicators of Compromise
- Unexpected USBX host stack crashes or watchdog resets correlated with USB device insertion events
- HID enumeration failures or truncated report descriptors logged by the USBX host
- Presence of unknown or unapproved USB HID peripherals attached to embedded systems
Detection Strategies
- Audit firmware builds for the vulnerable Eclipse ThreadX USBX versions referenced in the advisory
- Instrument USBX host enumeration paths to log descriptor sizes and compare them against declared item lengths
- Review device inventories for embedded systems with exposed USB host ports that accept arbitrary peripherals
Monitoring Recommendations
- Monitor serial console and system logs on affected devices for abnormal termination during USB enumeration
- Track USB connection events on sensitive embedded platforms and alert on unexpected HID device classes
- Correlate device reboots with physical port access to identify potential tampering attempts
How to Mitigate CVE-2026-96582
Immediate Actions Required
- Identify all firmware images that embed Eclipse ThreadX USBX with HID host support
- Restrict physical access to USB host ports on affected embedded devices and industrial controllers
- Disable the HID class driver in USBX configurations where HID peripherals are not required
- Plan firmware rebuilds against a patched USBX revision as soon as the fix becomes available
Patch Information
Refer to the Eclipse ThreadX USBX GitHub Security Advisory GHSA-f2fv-fqrc-h8jr for the patched commit, fixed version information, and backport guidance. Downstream integrators should rebuild and redeploy firmware after updating the USBX source tree.
Workarounds
- Physically block or disable unused USB host ports on affected devices using port locks or firmware configuration
- Enforce an allowlist of known USB device vendor and product identifiers at the USBX host layer
- Remove the HID class from the USBX host build configuration where keyboards, mice, or other HID devices are not required operationally
# Configuration example: disable HID class in USBX host build
# Remove or comment the HID host class registration during USBX initialization
# ux_host_stack_class_register(ux_system_host_class_hid_name, ux_host_class_hid_entry);
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

