PT-2026-2284 · Espressif · Esp-Idf

Published

2026-01-12

·

Updated

2026-04-17

·

CVE-2025-68656

CVSS v3.1

6.8

Medium

VectorAV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Espressif ESP-IDF versions prior to 1.1.0
Description The USB Host HID (Human Interface Device) Driver in ESP-IDF allows access to HID devices. A flaw exists in the usb class request get descriptor() function where it frees and reallocates hid device->ctrl xfer when an oversized descriptor is requested, but continues to use a stale local pointer. This results in a use-after-free condition when processing Report Descriptor lengths controlled by an attacker. The vulnerable function is usb class request get descriptor().
Recommendations Update to version 1.1.0 or later.

Exploit

Fix

Use After Free

Weakness Enumeration

Related Identifiers

CVE-2025-68656
GHSA-2PM2-62MR-C9X7

Affected Products

Esp-Idf