Vulnerability Description
TinyUSB before 0.21.0 contains an integer underflow vulnerability in the HID host report descriptor parser tuh_hid_parse_report_descriptor() in src/class/hid/hid_host.c that allows a malicious USB device to trigger an out-of-bounds read by subtracting an item size from the remaining descriptor length without validating the item fits within the remaining buffer. Attackers can present a crafted USB device with a truncated report descriptor causing the uint16_t desc_len value to underflow, resulting in out-of-bounds memory reads and denial of service on the host system.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706
- https://github.com/hathach/tinyusb/commit/85047e1777f5c20b7a936aa905c746125d3ed0
- https://github.com/hathach/tinyusb/releases/tag/0.21.0
- https://www.vulncheck.com/advisories/tinyusb-integer-underflow-via-hid-report-de
FAQ
What is CVE-2026-61497?
CVE-2026-61497 is a vulnerability with a CVSS score of 5.2 (MEDIUM). TinyUSB before 0.21.0 contains an integer underflow vulnerability in the HID host report descriptor parser tuh_hid_parse_report_descriptor() in src/class/hid/hid_host.c that allows a malicious USB dev...
How severe is CVE-2026-61497?
CVE-2026-61497 has been rated MEDIUM with a CVSS base score of 5.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-61497?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.