# CVE-2026-61495: TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()

- Severity: High 7.0 (CVSS:4.0, scored by 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-03T20:15:11.817Z
- Modified: 2026-11-28T13:39:27.796Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- hathach TinyUSB: up to 0.21.0

## Every score

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

## References

- <https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706> (exploit, technical-description)
- <https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9> (issue-tracking, patch)
- <https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-61495](https://www.cve.org/CVERecord?id=CVE-2026-61495), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-61495](https://nvd.nist.gov/vuln/detail/CVE-2026-61495), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-61495 · Whole record: https://cve.day/CVE-2026-61495.json · Rebuilt by cve.day 2026-11-28T13:47:10.760Z
