CVE-2025-68656 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, 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 wh...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires physical access, low 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, 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-68656 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-277297-M |
| CVSS vector | CVSS:3.1/AV:P/AC:L/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-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
CVE-2025-68656 affects Espressif ESP-IDF USB Host HID Driver versions prior to 1.1.0, where an attacker can exploit a use-after-free vulnerability by requesting an oversized descriptor, leading to potential code execution.
An attacker can exploit this vulnerability by sending a specially crafted USB HID Report Descriptor with an oversized length to the ESP-IDF USB Host HID Driver. This causes the driver to free and reallocate memory, but continue using a stale pointer, resulting in a use-after-free condition.
Questions
What is CVE-2025-68656?
CVE-2025-68656 affects Espressif ESP-IDF USB Host HID Driver versions prior to 1.1.0, where an attacker can exploit a use-after-free vulnerability by requesting an oversized descriptor, leading to potential code execution.
What is the CVSS score for CVE-2025-68656?
CVE-2025-68656 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2025-68656 actively exploited?
No confirmed active exploitation of CVE-2025-68656 as of 2026-09-25.
How do I remediate CVE-2025-68656?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-68656?
CVE-2025-68656 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.