TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
cve-program · CVE-2026-61495 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 3 Nov 2026 23:57:16 UTC. Read the latest advisory.
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.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-61495 · Published
cve-program · CVE-2026-61495 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.