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.
History

Mon, 09 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
References

Fri, 06 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Hathach
Hathach tinyusb
Vendors & Products Hathach
Hathach tinyusb

Tue, 03 Nov 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 03 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-03T20:15:11.817Z

Updated: 2026-11-09T22:00:56.245Z

Reserved: 2026-07-10T15:43:36.625Z

Link: CVE-2026-61495

cve-icon Vulnrichment

Updated: 2026-11-03T22:36:41.118Z

cve-icon NVD

Status : Received

Published: 2026-11-03T21:17:42.487

Modified: 2026-11-09T22:18:52.683

Link: CVE-2026-61495

cve-icon Redhat

No data.