{"id":"CVE-2026-61495","aliases":["CVE-2026-61495"],"related":[],"kind":"vulnerability","state":"published","title":"TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-03T20:15:11.817Z","modified":"2026-11-28T13:39:27.796Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.21.0","status":"affected"}],"vendor":"hathach","product":"TinyUSB","repo":"https://github.com/hathach/tinyusb","source":"cvelist"}],"references":[{"url":"https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]}],"credits":["Shukhratbek Uraiimov (usecurity)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-03T22:36:40.400Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61495","url":"https://www.cve.org/CVERecord?id=CVE-2026-61495","licence":"CVE Terms of Use","modified":"2026-11-28T13:39:27.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61495","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61495","licence":"Public domain","modified":"2026-11-12T20:57:59.173Z"}],"updatedAt":"2026-11-28T13:47:10.760Z","epss":{"score":0.00284,"percentile":0.22538,"date":"2026-12-01T12:00:22.000Z"}}