CVE-2025-68657CWE-415CWE-667

espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path

Medium · published January 12, 2026

CVSS v3.1
6.4
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Weaknesses
CWE-415 · Double Free; CWE-667 · Improper Locking
Published
2026-01-12T17:26Z
EPSS history
Timeline
  • 12 JAN 17:26Z
    espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path
    cvelistv5