CVE-2025-68657: espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path

Published Jan 12, 2026
·
Updated

Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, calls to hidhostdeviceclose() can free the same usbtransfert twice. The USB event callback and user code share the hidifacet 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.

Affected Software

2 affected components
espressif/usb_host_hid<1.1.0
Espressif Usb Host Hid Driver<1.1.0

Event History

Jan 12, 2026
CVE Published
via MITRE·05:26 PM
Data Sourced
via MITRE·05:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68657?

CVE-2025-68657 is classified as a vulnerability that can lead to double-free conditions which may cause application instability.

2

How do I fix CVE-2025-68657?

To fix CVE-2025-68657, update the espressif/usb_host_hid to version 1.1.0 or newer.

3

What is the impact of CVE-2025-68657?

The impact of CVE-2025-68657 includes potential application crashes and unpredictable behavior due to double-free issues.

4

Which versions of espressif/usb_host_hid are affected by CVE-2025-68657?

CVE-2025-68657 affects all versions of espressif/usb_host_hid prior to 1.1.0.

5

Is CVE-2025-68657 a common vulnerability?

CVE-2025-68657 is less common but can pose significant risks in applications utilizing the affected driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203