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.
Metrics
Affected Vendors & Products
References
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
|
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
|
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
Updated: 2026-11-03T22:36:41.118Z
Status : Received
Published: 2026-11-03T21:17:42.487
Modified: 2026-11-09T22:18:52.683
Link: CVE-2026-61495
No data.