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

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

Affected products (1)

More vulnerabilities in Espressif Usb Host Hid Driver

All CVEs affecting Espressif Usb Host Hid Driver →

Other CWE-415 (Double Free) vulnerabilities

Browse all CWE-415 (Double Free) vulnerabilities →