CVE-2025-68657

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

Published Jan 12, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Espressif usb Host Hid Driver
CPEs cpe:2.3:a:espressif:usb_host_hid_driver:*:*:*:*:*:*:*:*
Vendors & Products Espressif usb Host Hid Driver
Type Values Removed Values Added
First Time appeared Espressif
Espressif esp-usb
Vendors & Products Espressif
Espressif esp-usb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path
Weaknesses CWE-415
CWE-667
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 12, 2026, 6:40 PM
Reserved
Dec 22, 2025, 5:55 PM
Status
Analyzed
Published
Jan 12, 2026, 6:15 PM
Modified
Jun 17, 2026, 9:59 AM