CVE-2025-68657
published medium CVSS 3.1 · 6.4espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| espressif | — | esp-usb< 1.1.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| espressif | esp-usb | < 1.1.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-415 CWE-415: Double Free
- CWE-667 CWE-667: Improper Locking
References
3Provider assertions
2GitHub_M · cna
espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5ae1f1fc439764d755880e5f8c7a437150a424e9e7520eff4707f6f9ec6bd192
- Ingested
- 23 Sep 2026, 08:57:14 UTC
- Source record
- Official CVE record