CVE-2026-61495

published 3 Nov 2026 · updated 12 Nov 2026

TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()

7.8HighCVSS 6.8EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

TinyUSB through 0.21.0, fixed in commit e85c2b8, contains an out-of-bounds write vulnerability in the MTP device class helper mtp_container_get_string() in src/class/mtp/mtp.h that allows a malicious USB host to corrupt adjacent memory by supplying a crafted MTP string with an unbounded character count. Attackers can exploit the unchecked memcpy operation copying up to 510 bytes into a fixed-size destination buffer to achieve code execution or cause a denial of service on the TinyUSB MTP device.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
hathach<=0.21.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-61495 severity on Zeptric[![CVE-2026-61495](https://zeptric.io/badge/cve/CVE-2026-61495.svg)](https://zeptric.io/cve/CVE-2026-61495)