{"id":"CVE-2026-61497","summary":"TinyUSB \u003c 0.21.0 Integer Underflow via HID Report Descriptor Parser","details":"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.","modified":"2026-11-28T15:00:10.683155277Z","published":"2026-11-03T20:21:53.640Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-191"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61497.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61497.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61497"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/tinyusb-integer-underflow-via-hid-report-descriptor-parser"},{"type":"FIX","url":"https://github.com/hathach/tinyusb/commit/85047e1777f5c20b7a936aa905c746125d3ed066"},{"type":"FIX","url":"https://github.com/hathach/tinyusb/releases/tag/0.21.0"},{"type":"PACKAGE","url":"https://github.com/hathach/tinyusb"},{"type":"EVIDENCE","url":"https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hathach/tinyusb","events":[{"introduced":"0"},{"fixed":"dae3f9a366bfcddbf9dcf1b48d7500286a849539"},{"fixed":"85047e1777f5c20b7a936aa905c746125d3ed066"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.21.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_TAG","original_tag":"0.21.0","range":[{"fixed":"dae3f9a366bfcddbf9dcf1b48d7500286a849539"}]},{"range":[{"fixed":"85047e1777f5c20b7a936aa905c746125d3ed066"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["0.19.0","0.20.0","0.18.0","0.17.0","0.16.0","0.15.0","0.14.0","0.13.0","0.12.0","0.11.0","0.10.1","0.10.0","0.9.0","0.8.0","0.7.0","0.6.0","0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61497.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"}]}