Disclosures
Espressif · esp-usb / usb_host_hid
Double-Free Race Condition in USB Host HID Device Close Path
6.4medium
SecMateSECMATE-2025-0032
VendorEspressif
Productesp-usb / usb_host_hid
VectorCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AdvisoryGHSA-gp8r-qjfr-gqfv
Timeline
Published
Jan 11, 2026
Summary
Espressif's esp-usb HID host component before version 1.1.0 contains a race condition in the device close path. Concurrent teardown by the USB event callback and application code can free the same transfer object twice, corrupting heap metadata. A malicious HID device may trigger a crash or memory corruption, although exploitation requires extremely precise timing.