CVE 6.4 MEDIUM

espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path_CVE-2025-68657

6.4 / 10
MEDIUM
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2025-68657
Source GitHub_M
Published Jan 12, 2026 at 17:26

Affected Product

Vendor espressif
Product esp-usb
Version < 1.1.0
Affected Versions espressif esp-usb < 1.1.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.