{"id":"UBUNTU-CVE-2026-61497","details":"TinyUSB before 0.20.1 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-05T11:46:35.833060835Z","published":"2026-11-03T21:17:00Z","upstream":["CVE-2026-61497"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-61497"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-61497"},{"type":"REPORT","url":"https://github.com/hathach/tinyusb/commit/85047e1777f5c20b7a936aa905c746125d3ed066"},{"type":"REPORT","url":"https://github.com/hathach/tinyusb/releases/tag/0.21.0"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/tinyusb-integer-underflow-via-hid-report-descriptor-parser"}],"affected":[{"package":{"name":"tinyusb","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/tinyusb?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tinyusb-source","binary_version":"0.18.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61497.json"}},{"package":{"name":"tinyusb","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tinyusb?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tinyusb-source","binary_version":"0.18.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61497.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"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"},{"type":"Ubuntu","score":"medium"}]}