CVE-2026-61497
published medium CVSS 4.0 · 5.2TinyUSB < 0.21.0 Integer Underflow via HID Report Descriptor Parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hathach | — | TinyUSB0 to < 0.21.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.2 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.2 | medium | VulnCheck · cna | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hathach | TinyUSB | 0 to < 0.21.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-191 Integer Underflow (Wrap or Wraparound)
References
4- Researcher Disclosure https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706
- Patch Commit https://github.com/hathach/tinyusb/commit/85047e1777f5c20b7a936aa905c746125d3ed066
- TinyUSB 0.21.0 Release Notes https://github.com/hathach/tinyusb/releases/tag/0.21.0
- VulnCheck Advisory: TinyUSB < 0.20.1 Integer Underflow via HID Report Descriptor Parser https://www.vulncheck.com/advisories/tinyusb-integer-underflow-via-hid-report-descriptor-parser
Provider assertions
2VulnCheck · cna
TinyUSB < 0.21.0 Integer Underflow via HID Report Descriptor Parser
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d048f643042d53f372b4da47a77092938075833a7ebab28da8e9f3e4b0c59f24
- Ingested
- 28 Nov 2026, 13:42:51 UTC
- Source record
- Official CVE record