Description
Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, usb_class_request_get_descriptor() frees and reallocates hid_device->ctrl_xfer when an oversized descriptor is requested but continues to use the stale local pointer, leading to an immediate use-after-free when processing attacker-controlled Report Descriptor lengths. This vulnerability is fixed in 1.1.0.
Problem types
Product status
References
github.com/...sp-usb/security/advisories/GHSA-2pm2-62mr-c9x7
github.com/...ommit/81b37c96593c0bec92ef14c6ee6bf8cab8d8f660
components.espressif.com/...ost_hid/versions/1.1.0/changelog