CVE-2026-61495
published high CVSS 4.0 · 7.0TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hathach | — | TinyUSB0 through 0.21.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.8 | medium | VulnCheck · cna | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hathach | TinyUSB | 0 through 0.21.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
3- Researcher Disclosure https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706
- Patch Commit https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9
- VulnCheck Advisory: TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string() https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string
Provider assertions
2VulnCheck · cna
TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2863be72803f1d172e61ba89c7d67184a7ff3cea11731d407337e6424b1a833e
- Ingested
- 28 Nov 2026, 13:42:51 UTC
- Source record
- Official CVE record