What’s Vulnerable › Vulnerabilities
CVE-2025-68622: Espressif ESP-IDF USB Host UVC Class Driver has a stack buffer overflow in UVC descriptor printing
- Severity: medium (CVSS 6.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-12 · updated 2026-06-17
- Weakness: CWE-121
Description
Espressif ESP-IDF USB Host UVC Class Driver allows video streaming from USB cameras. Prior to 2.4.0, a vulnerability in the esp-usb UVC host implementation allows a malicious USB Video Class (UVC) device to trigger a stack buffer overflow during configuration-descriptor parsing. When UVC configuration-descriptor printing is enabled, the host prints detailed descriptor information provided by the connected USB device. A specially crafted UVC descriptor may advertise an excessively large length. Because this value is not validated before being copied into a fixed-size stack buffer, an attacker can overflow the buffer and corrupt memory. This vulnerability is fixed in 2.4.0.
Affected products
- espressif Usb Host Uvc Class Driver: before 2.4.0 — fixed in 2.4.0
How to fix
Upgrade to a fixed version: espressif Usb Host Uvc Class Driver 2.4.0. Check the vendor advisory for mitigations.
References
- https://components.espressif.com/components/espressif/usb_host_uvc/versions/2.4.0/changelog
- https://github.com/espressif/esp-usb/commit/77a38b15a17f6e3c7aeb620eb4aeaf61d5194cc0
- https://github.com/espressif/esp-usb/security/advisories/GHSA-g65h-9ggq-9827
Get alerted when CVE-2025-68622 or the next vulnerability affects your stack