{"id":"CVE-2025-68622","state":"PUBLISHED","title":"Espressif ESP-IDF USB Host UVC Class Driver has a stack buffer overflow in UVC descriptor printing","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.","publishedAt":"2026-01-12T17:08:22.941Z","updatedAt":"2026-01-12T18:37:35.287Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["espressif esp-usb"],"affected":[{"vendor":"espressif","product":"esp-usb","versions":[{"version":"< 2.4.0","status":"affected"}]}],"references":["https://github.com/espressif/esp-usb/security/advisories/GHSA-g65h-9ggq-9827","https://github.com/espressif/esp-usb/commit/77a38b15a17f6e3c7aeb620eb4aeaf61d5194cc0","https://components.espressif.com/components/espressif/usb_host_uvc/versions/2.4.0/changelog"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68622.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68622","state":"PUBLISHED","datePublished":"2026-01-12T17:08:22.941Z","dateUpdated":"2026-01-12T18:37:35.287Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-19T18:50:09.991Z"},"containers":{"cna":{"title":"Espressif ESP-IDF USB Host UVC Class Driver has a stack buffer overflow in UVC descriptor printing","descriptions":[{"lang":"en","value":"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":[{"vendor":"espressif","product":"esp-usb","versions":[{"version":"< 2.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/espressif/esp-usb/security/advisories/GHSA-g65h-9ggq-9827","name":"https://github.com/espressif/esp-usb/security/advisories/GHSA-g65h-9ggq-9827","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/espressif/esp-usb/commit/77a38b15a17f6e3c7aeb620eb4aeaf61d5194cc0","name":"https://github.com/espressif/esp-usb/commit/77a38b15a17f6e3c7aeb620eb4aeaf61d5194cc0","tags":["x_refsource_MISC"]},{"url":"https://components.espressif.com/components/espressif/usb_host_uvc/versions/2.4.0/changelog","name":"https://components.espressif.com/components/espressif/usb_host_uvc/versions/2.4.0/changelog","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"HIGH","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-12T17:08:22.941Z"},"source":{"advisory":"GHSA-g65h-9ggq-9827","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-12T18:37:25.103214Z","id":"CVE-2025-68622","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-12T18:37:35.287Z"}}]}}}