# CVE-2025-68656: Espressif ESP-IDF USB Host HID (Human Interface Device) Driver Descriptor Use-After-Free Vulnerability

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2026-01-12T17:23:19.393Z
- Modified: 2026-06-17T09:59:23.160Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- espressif esp-usb: < 1.1.0
- espressif usb_host_hid_driver: before 1.1.0

## References

- <https://github.com/espressif/esp-usb/security/advisories/GHSA-2pm2-62mr-c9x7> (patch, vendor-advisory)
- <https://github.com/espressif/esp-usb/commit/81b37c96593c0bec92ef14c6ee6bf8cab8d8f660> (patch)
- <https://components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog> (release-notes)

## Sources

- CVE List: [CVE-2025-68656](https://www.cve.org/CVERecord?id=CVE-2025-68656), CVE Terms of Use, modified 2026-01-12
- NVD: [CVE-2025-68656](https://nvd.nist.gov/vuln/detail/CVE-2025-68656), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-68656 · Whole record: https://cve.day/CVE-2025-68656.json · Rebuilt by cve.day 2026-11-25T22:59:10.509Z
