TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
Historical advisory recorded 3 Nov 2026 23:57:16 UTC. Read the latest advisory.
cve-program · CVE-2026-61495
PublishedTinyUSB 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 advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-61495 · CVE overview and exploitation status
cve-program · CVE-2026-61495
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.