Buffer overflow in Espressif Esp-Usb
CVE-2025-68622
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.
Vulnerability class: Buffer Overflow
EPSS: 0.002 (11.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Espressif Esp-usb — versions < 2.4.0
- Espressif Usb_host_uvc_class_driver
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2025-68622?
- CVE-2025-68622 is a medium-severity vulnerability in Espressif Esp-Usb, classified under Stack-based Buffer Overflow. CVSS score: 6.8/10. Published 2026-01-12.
- How severe is CVE-2025-68622?
- Medium severity. CVSS v3 base score is 6.8 out of 10.