Skip to main content
Vulnerability Database/CVE-2026-96406

CVE-2026-96406: USBX VideoStreaming Buffer Overflow

CVE-2026-96406 is a buffer overflow in USBX host VideoStreaming that allows malicious devices to trigger out-of-bounds memory access through manipulated descriptor sizes. This article covers technical details, impact, and mitigation.

Published:

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-96406 Overview

CVE-2026-96406 is an out-of-bounds read vulnerability [CWE-125] in the Eclipse ThreadX USBX host stack. The flaw resides in the USB Video Class (UVC) host driver, which trusts the wTotalLength field from a VideoStreaming interface's class-specific descriptor header. The host uses that attacker-controlled length as the walking budget for format, frame, and frame-interval descriptors without validating it against the actual configuration descriptor received from the device.

A malicious USB video device that declares a wTotalLength larger than the bytes it supplies causes the parser to read past the end of the configuration buffer in the host's context.

Critical Impact

A rogue USB video device plugged into a vulnerable host can trigger out-of-bounds memory reads during descriptor enumeration, leading to information disclosure or host crashes when the application queries format or frame data.

Affected Products

  • Eclipse ThreadX USBX host stack (USB Video Class host driver)
  • Embedded systems and RTOS deployments using USBX for USB host functionality
  • Applications querying UVC format or frame data through USBX APIs

Discovery Timeline

  • 2026-10-20 - CVE CVE-2026-96406 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-96406

Vulnerability Analysis

The USBX host enumerates a USB Video Class device by reading its configuration descriptor and iterating over nested class-specific descriptors. For a VideoStreaming interface, the input header reports the total size of its class-specific descriptor block in the wTotalLength field. USBX records this figure and uses it as the upper bound for walking the format, frame, and frame-interval descriptor chain.

The host never cross-checks wTotalLength against the length of the configuration descriptor it actually received over the USB bus. When a device reports a value larger than the bytes it supplied, the descriptor walker continues iterating after the real buffer is exhausted. The parser dereferences its cursor into adjacent heap or stack memory belonging to the USB host context.

The out-of-bounds read triggers whenever an application queries format or frame data through the USBX UVC API. The exposure window therefore spans the entire time the device remains attached.

Root Cause

The root cause is missing input validation [CWE-125] on a length field supplied by an untrusted peripheral. USBX treats the device-reported wTotalLength as authoritative instead of clamping it to the number of bytes present in the configuration buffer.

Attack Vector

Exploitation requires physical access. An attacker constructs or reprograms a USB device to advertise itself as a UVC video device and emits a VideoStreaming input header whose wTotalLength exceeds its actual descriptor payload. When a vulnerable host enumerates the device and the application later queries video format or frame data, the parser walks past the configuration buffer and reads out-of-bounds memory.

The vulnerability does not grant write primitives or code execution. The practical consequences are information disclosure of adjacent memory and denial of service through host crashes when the dereferenced memory is unmapped.

Detection Methods for CVE-2026-96406

Indicators of Compromise

  • Unexpected crashes or memory faults in firmware threads handling USB host enumeration or UVC format queries.
  • USB enumeration logs showing VideoStreaming interfaces where the declared wTotalLength does not match the configuration descriptor size reported by the device.
  • Unknown or unauthorized USB video devices attached to embedded systems that normally do not use webcams.

Detection Strategies

  • Instrument the USBX host build with assertions that compare each class-specific wTotalLength against the remaining bytes in the configuration buffer and log mismatches.
  • Enable USB auditing on host operating systems supervising the embedded device to capture vendor and product identifiers of attached UVC peripherals.
  • Review crash dumps from fielded devices for faults originating in USBX descriptor parsing routines.

Monitoring Recommendations

  • Monitor physical access to deployed embedded systems and kiosks that expose USB host ports.
  • Track firmware revisions of USBX across the fleet and flag devices still running pre-patch versions.
  • Correlate device reboot patterns with USB attach events to identify suspicious hardware interactions.

How to Mitigate CVE-2026-96406

Immediate Actions Required

  • Upgrade Eclipse ThreadX USBX to the fixed version referenced in the GitHub Security Advisory GHSA-8qf6-hjvf-g68f.
  • Disable the UVC host class driver in USBX builds that do not require USB video support.
  • Restrict physical access to USB host ports on affected embedded devices through tamper-resistant enclosures or port blockers.

Patch Information

Eclipse ThreadX has published a security advisory for USBX documenting the fix. Review the GitHub Security Advisory GHSA-8qf6-hjvf-g68f for the patched commit, affected version ranges, and upgrade instructions. Rebuild firmware images against the fixed USBX source tree and redeploy to all affected devices.

Workarounds

  • Remove or disable the UVC class driver registration at USBX host initialization if video input is not required.
  • Enforce an allowlist of trusted USB vendor and product identifiers at the application layer and reject unknown UVC devices during enumeration.
  • Where feasible, physically disable or lock down USB host ports on fielded devices until patched firmware is deployed.
bash
# Example: omit UVC host class registration in USBX host initialization
# (remove or comment out the UVC host class open call during stack bring-up)
# ux_host_stack_class_register(_ux_system_host_class_video_name, ux_host_class_video_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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.