CVE-2025-68657

MEDIUM

Espressif ESP-IDF - Use After Free

Title source: llm

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.

Scores

CVSS v3 6.4
EPSS 0.0002
EPSS Percentile 5.5%
Attack Vector PHYSICAL
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-667 CWE-415
Status published

Affected Products (1)

espressif/usb_host_hid_driver < 1.1.0

Timeline

Published Jan 12, 2026
Tracked Since Feb 18, 2026