CVE-2025-68657
CVE-2025-68657 is a medium-severity vulnerability in Espressif Usb Host Hid Driver with a CVSS 3.x base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-415.
Key facts
- Severity: Medium (CVSS 3.x base score 6.4)
- EPSS exploit prediction: 0% (4th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-206281
- Weakness: CWE-415
- Affected product: Espressif Usb Host Hid Driver
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-68657?
- 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.
- How severe is CVE-2025-68657?
- CVE-2025-68657 has a CVSS 3.x base score of 6.4, rated medium severity. It is exploitable over physical access with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-68657 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (4th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-68657?
- CVE-2025-68657 affects Espressif Usb Host Hid Driver. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-68657?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-68657 have an EU (EUVD) identifier?
- Yes. CVE-2025-68657 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-206281.
- When was CVE-2025-68657 published?
- CVE-2025-68657 was published on 2026-01-12 and last updated on 2026-06-17.
References
- https://components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog
- https://github.com/espressif/esp-usb/commit/cd28106e9f72ac2719682c06f94601f9f034390b
- https://github.com/espressif/esp-usb/security/advisories/GHSA-gp8r-qjfr-gqfv
Affected products (1)
- cpe:2.3:a:espressif:usb_host_hid_driver:*:*:*:*:*:*:*:*
More vulnerabilities in Espressif Usb Host Hid Driver
- CVE-2025-68656 — Medium (CVSS 6.8): Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0,…
All CVEs affecting Espressif Usb Host Hid Driver →
Other CWE-415 (Double Free) vulnerabilities
- CVE-2018-0101 — Critical (CVSS 10.0): A vulnerability in the Secure Sockets Layer (SSL) VPN functionality of the Cisco Adaptive Security Appliance (ASA)…
- CVE-2026-8925 — Critical (CVSS 9.8): The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing…
- CVE-2020-37239 — Critical (CVSS 9.8): libbabl 0.1.62 contains a broken double free detection vulnerability that allows attackers to bypass memory safety…
- CVE-2026-43414 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Completely fix fcport double…
- CVE-2026-43011 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: net/x25: Fix potential double free of skb When…
- CVE-2026-31609 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid double-free in…