Skip to main content
CVE-2025-68656VulnerabilityPublished

CVE-2025-68656: espressif esp-usb · Use After Free

Affects espressif esp-usbSource CVE Database V5

0

Not known to be exploited · CVSS 6.8 Medium : upgrade to 1.1.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.1.0
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade esp-usb and espressif/esp-usb to 1.1.0.

Affected software

ProductAffectedFixed in
espressifesp-usbAffected
  • <1.1.0
Fixed in
  • 1.1.0
GitHubespressif/esp-usbpkg:github/espressif/esp-usbOther threatsAffected
  • <1.1.0
Fixed in
  • 1.1.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade all Espressif ESP-IDF esp-usb components to version 1.1.0 or later to apply the official fix. 2. Implement strict USB device filtering policies on endpoints and embedded systems to restrict unauthorized or untrusted USB devices. 3. Monitor USB host interfaces for anomalous HID descriptor requests or unexpected device behavior indicative of exploitation attempts. 4. For network-exposed USB interfaces (e.g., USB over IP), restrict access using network segmentation and strong authentication controls. 5. Conduct firmware inventory and vulnerability scanning to identify devices running vulnerable esp-usb versions. 6. Employ endpoint detection and response (EDR) solutions capable of detecting memory corruption or exploitation behaviors related to use-after-free vulnerabilities. 7. Educate operational technology and IoT device administrators on the risks of USB-based attacks and the importance of timely patching.

Description

Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, usb_class_request_get_descriptor() frees and reallocates hid_device->ctrl_xfer when an oversized descriptor is requested but continues to use the stale local pointer, leading to an immediate use-after-free when processing attacker-controlled Report Descriptor lengths. This vulnerability is fixed in 1.1.0.

References

Community reviews

Loading reviews…