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

CVE-2026-96402: USBX Host Information Disclosure Flaw

CVE-2026-96402 is an information disclosure vulnerability in USBX host implementations where malicious USB MTP/PTP devices trigger heap buffer overreads during object enumeration. This article covers technical details, exploitation scenarios, and mitigation strategies.

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

CVE-2026-96402 is an out-of-bounds read vulnerability [CWE-125] in the Eclipse ThreadX USBX host stack. A malicious USB Media Transfer Protocol (MTP) or Picture Transfer Protocol (PTP) device triggers the flaw during ordinary object enumeration. The USBX host reads past a heap buffer, exposing adjacent heap memory to the host application or faulting on an unmapped page.

Exploitation requires physical access to a USB port and user action to connect the device. The impact is bounded to information disclosure and availability loss on the affected host.

Critical Impact

A rogue USB MTP/PTP device can leak adjacent heap memory from the USBX host process or crash the host via an unmapped-page fault during device enumeration.

Affected Products

  • Eclipse ThreadX USBX (host stack, MTP/PTP class driver)
  • Embedded systems and IoT devices integrating USBX as the USB host stack
  • Firmware images that expose a USB host port and parse MTP/PTP object metadata

Discovery Timeline

  • 2026-10-20 - CVE-2026-96402 published to the National Vulnerability Database (NVD)
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-96402

Vulnerability Analysis

The vulnerability resides in the USBX host-side handling of MTP/PTP object enumeration. When a USB device enumerates as an MTP or PTP class peripheral, the host requests object handles and object metadata from the device. The USBX parser trusts length and index fields supplied by the device without fully validating them against the allocated heap buffer.

A crafted device returns metadata that drives the parser to read beyond the end of the allocated object buffer. The read either returns adjacent heap contents to the calling application or dereferences an unmapped virtual address, halting the host process. The flaw is a classic out-of-bounds read [CWE-125] triggered by attacker-controlled protocol responses.

Root Cause

The USBX MTP/PTP host driver performs insufficient bounds checking on object descriptor fields parsed from device responses. Length and offset values controlled by the peripheral are used to index into heap-allocated structures without validation against the allocation size.

Attack Vector

The attack requires physical access and user interaction. An attacker builds or reprograms a USB device to advertise itself as an MTP/PTP peripheral. When a user plugs the device into a system running vulnerable USBX firmware, standard enumeration triggers the out-of-bounds read.

For a technical description of the parser path and affected code, see the GitHub Security Advisory GHSA-2ch9-p8xv-fwp6.

Detection Methods for CVE-2026-96402

Indicators of Compromise

  • Unexpected crashes or watchdog resets on embedded devices shortly after a USB device is attached
  • Firmware logs showing MTP/PTP enumeration events followed by heap faults or exception handlers firing
  • Unknown or unauthorized USB peripherals enumerating as MTP/PTP class devices on fielded hardware

Detection Strategies

  • Audit firmware builds for the USBX host MTP/PTP class driver and flag versions prior to the vendor patch referenced in the advisory
  • Instrument USB enumeration paths with bounds-check assertions during QA and fuzz-test MTP/PTP object metadata parsing
  • Correlate device-attach telemetry with subsequent process faults to surface exploitation attempts against production systems

Monitoring Recommendations

  • Enable USB device logging on managed endpoints and alert on MTP/PTP class enumerations from unapproved vendor IDs
  • Capture crash dumps and stack traces from embedded devices to identify heap read violations originating in USBX symbols
  • Track USB port usage on kiosks, industrial controllers, and medical devices where physical access is possible

How to Mitigate CVE-2026-96402

Immediate Actions Required

  • Identify all firmware and products that embed the Eclipse ThreadX USBX host stack with MTP/PTP support enabled
  • Apply the vendor fix referenced in GHSA-2ch9-p8xv-fwp6 and rebuild affected firmware images
  • Restrict physical access to USB host ports on production and field-deployed hardware

Patch Information

Eclipse ThreadX maintainers published the fix through the project security advisory. Integrators must pull the patched USBX source, rebuild firmware, and redeploy to affected devices. Refer to the Eclipse ThreadX USBX advisory for commit details and version information.

Workarounds

  • Disable the MTP/PTP host class driver in USBX builds that do not require media or imaging device support
  • Enforce a USB device allow-list in firmware so only approved vendor and product IDs enumerate
  • Physically block or remove USB host ports on devices deployed in untrusted environments

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.