Skip to main content
VulnerabilityPublished

CVE-2025-68657: espressif esp-usb · Double Free

Affects espressif esp-usbSource CVE Database V5

0

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

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
6.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% 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:H/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 26 Oct 2026.

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 USB Host HID driver instances to version 1.1.0 or later, where the vulnerability is fixed.
  2. Implement strict access controls to USB host interfaces on embedded devices to prevent unauthorized physical or logical access.
  3. Employ runtime monitoring and anomaly detection on USB host activity to identify unusual device teardown or memory corruption events.
  4. For devices that cannot be immediately updated, consider disabling USB host HID functionality if not required.
  5. Conduct thorough security audits of IoT and embedded device firmware to identify usage of vulnerable ESP-IDF versions.
  6. Enforce network segmentation and physical security controls to limit attacker proximity to vulnerable devices.
  7. Collaborate with device manufacturers to ensure timely firmware updates and vulnerability disclosures.
  8. Integrate vulnerability management processes that track Espressif component versions and patch status across deployed devices.

Description

Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, calls to hid_host_device_close() can free the same usb_transfer_t twice. The USB event callback and user code share the hid_iface_t state without locking, so both can tear down a READY interface simultaneously, corrupting heap metadata inside the ESP USB host stack. This vulnerability is fixed in 1.1.0.

References

Community reviews

Loading reviews…