Use After Free in Espressif Esp-Usb

CVE-2025-68656

Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, usb_class_request_get_descriptor() frees and reallocates hid_device->ctrl_xfer when an oversized descriptor is requested but continues to use the stale local pointer, leading to an immediate use-after-free when processing attacker-controlled Report Descriptor lengths. This vulnerability is fixed in 1.1.0.

Vulnerability class: Use-After-Free

EPSS: 0.002 (8.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-68656?
CVE-2025-68656 is a medium-severity vulnerability in Espressif Esp-Usb, classified under Use After Free. CVSS score: 6.8/10. Published 2026-01-12.
How severe is CVE-2025-68656?
Medium severity. CVSS v3 base score is 6.8 out of 10.