Double Free in Espressif Esp-Usb
CVE-2025-68657
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (4.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 4.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
- Espressif Esp-Usb — versions < 1.1.0
- Espressif Usb Host Hid Driver
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-68657?
- CVE-2025-68657 is a medium-severity vulnerability in Espressif Esp-Usb, classified under Double Free. CVSS score: 6.4/10. Published 2026-01-12.
- How severe is CVE-2025-68657?
- Medium severity. CVSS v3 base score is 6.4 out of 10.