Vulnerabilities · 2025 · Espressif
CVE-2025-68656
Espressif Usb Host Hid Driver vulnerability
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.
Affected products
Usb Host Hid Driver. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Espressif Usb Host Hid Driver runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/espressif/esp-usb/security/advisories/GHSA-2pm2-62mr-c9x7 · Patch
- github.com/espressif/esp-usb/commit/81b37c96593c0bec92ef14c6ee6bf8cab8d8f660 · Patch
- components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog
- nvd.nist.gov/vuln/detail/CVE-2025-68656
- cve.org/CVERecord?id=CVE-2025-68656
More vulnerabilities in Espressif products
CVE-2025-68657CVE-2025-68622CVE-2025-68474CVE-2025-68473CVE-2025-55297CVE-2025-52471CVE-2025-27840CVE-2024-53406All 31
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.