CVE-2026-61495 TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
HighCVSS 7.0
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/tinyusb(Debian 13) | = 0.18.0+dfsg-1; All versions | No fix listed | No fix yet |
| debian/tinyusb(Debian 14) | = 0.18.0+dfsg-1; All versions | No fix listed | No fix yet |
| ubuntu/tinyusb(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/tinyusb(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| hathach/tinyusb | <= 0.21.0 | after 0.21.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hathach/tinyusb | <= 0.21.0 | No fix listed |
| ubuntu/tinyusb(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tinyusb(Ubuntu:26.10) | All versions | No fix listed |
| debian/tinyusb(Debian:14) | All versions | No fix listed |
| debian/tinyusb(Debian:13) | All versions | No fix listed |
| debian/tinyusb(Debian:13) | = 0.18.0+dfsg-1 | No fix listed |
| debian/tinyusb(Debian:14) | = 0.18.0+dfsg-1 | No fix listed |
References
- Patch Commit issue-tracking patch
- VulnCheck Advisory: TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string() third-party-advisory
- Researcher Disclosure exploit technical-description
- Debian Security Tracker CVE-2026-61495 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-116211 third-party-advisory