CVE-2026-61495
TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-787 |
| Vendor | hathach |
| Product | tinyusb |
| Published | Nov 3, 2026 |
Stay Ahead of the Next One
Get instant alerts for hathach tinyusb
Be the first to know when new medium vulnerabilities affecting hathach tinyusb are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
hathach / TinyUSB
0 โค 0.21.0
References
Credits
Shukhratbek Uraiimov