CVE-2025-68657 in Espressif Usb Host Hid Driver
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 simultaneousl...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires physical access, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Espressif | Usb Host Hid Driver | < 1.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-68657 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-277299-M |
| CVSS vector | CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-01-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-415: CWE-415
CWE-667: CWE-667
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-667
CAPEC-25 Forced Deadlock via CWE-667
CAPEC-26 Leveraging Race Conditions via CWE-667
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-68657 affects the Espressif ESP-IDF USB Host HID Driver prior to version 1.1.0, where improper handling of USB transfers can lead to double-free vulnerabilities and heap metadata corruption.
An attacker could exploit this vulnerability by sending specially crafted USB HID device commands that cause the hid_host_device_close() function to free the same usb_transfer_t object twice. This can lead to heap corruption, potentially allowing for arbitrary code execution.
Questions
What is CVE-2025-68657?
CVE-2025-68657 affects the Espressif ESP-IDF USB Host HID Driver prior to version 1.1.0, where improper handling of USB transfers can lead to double-free vulnerabilities and heap metadata corruption.
What is the CVSS score for CVE-2025-68657?
CVE-2025-68657 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2025-68657 actively exploited?
No confirmed active exploitation of CVE-2025-68657 as of 2026-09-25.
How do I remediate CVE-2025-68657?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-68657?
CVE-2025-68657 affects Espressif Usb Host Hid Driver.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Espressif","product":"Usb Host Hid Driver","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.