Vulnerabilities · 2025 · Espressif
CVE-2025-68657
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, 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.
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-gp8r-qjfr-gqfv · Vendor Advisory
- github.com/espressif/esp-usb/commit/cd28106e9f72ac2719682c06f94601f9f034390b · Patch
- components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog
- nvd.nist.gov/vuln/detail/CVE-2025-68657
- cve.org/CVERecord?id=CVE-2025-68657
More vulnerabilities in Espressif products
CVE-2025-68656CVE-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.