Vulnerability details

CVE-2026-61495

hathach TinyUSB

TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()

CVSS 4.0
7.0High

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

CVSS scores

ScoreVersionSourceVector
7.0High 4.0 CVEProject cvelistV5 (CNA) (VulnCheck) 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
6.8Medium 3.1 CVEProject cvelistV5 (CNA) (VulnCheck) CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
hathach TinyUSB v ≤ 0.21.0 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-11-03
Last updated
2026-11-04
State
Published
Assigner (CNA)
VulnCheck

Exploit prediction (EPSS)

0.26%
Probability of exploitation in 30 days
18.6%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-787
    Out-of-bounds Write