---
id: "CVE-2026-61497"
kind: "vulnerability"
aliases: ["CVE-2026-61497"]
title: "TinyUSB: crafted USB device triggers out-of-bounds read and denial of service"
severity: "medium"
cvss: 5.2
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["embedded", "hid", "runtime", "tinyusb", "usb-host"]
not_affected_if: ["no-hid-host", "usb-device-only"]
published_at: "2026-11-03T21:17:42+00:00"
first_seen_at: "2026-11-03T21:19:30+00:00"
updated_at: "2026-11-03T21:20:45+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61497", "first_seen_at": "2026-11-03T21:19:30+00:00"}]
---

# TinyUSB: crafted USB device triggers out-of-bounds read and denial of service

TinyUSB's HID host report descriptor parser underflows an integer when a USB device sends a truncated report descriptor, causing out-of-bounds memory reads. An attacker with a malicious USB device can crash the host system (denial of service).

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the project embeds TinyUSB and its version, for example by searching the source tree for `tuh_hid_parse_report_descriptor` or the TinyUSB version in your build files.
- Confirm whether USB host HID support (`tuh_hid_parse_report_descriptor`) is compiled in and used.

## Fix

- TinyUSB: move to `0.20.1` or later.

## Timeline

- 2026-11-03T21:19:30+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-61497

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/tinyusb-integer-underflow-via-hid-report-descriptor-parser
- [fix] Patch: github.com https://github.com/hathach/tinyusb/commit/85047e1777f5c20b7a936aa905c746125d3ed066
- [fix] Release notes: github.com https://github.com/hathach/tinyusb/releases/tag/0.21.0

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
