CVE-2025-68657
6.4
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| espressif | esp-usb | < 1.1.0 | affected |
Weaknesses
- CWE-415: CWE-415: Double Free
- CWE-667: CWE-667: Improper Locking
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://github.com/espressif/esp-usb/security/advisories/GHSA-gp8r-qjfr-gqfv
- https://github.com/espressif/esp-usb/commit/cd28106e9f72ac2719682c06f94601f9f034390b
- https://components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.