{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"hathach/tinyusb","product":"TinyUSB","source":"CNA: VulnCheck","vendor":"hathach","versions":[{"lessThanOrEqual":"0.21.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-61495","cwes":["CWE-787"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":6.8,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7,"severity":"high","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":6.8,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793747870427,"publishedAt":1793736911817,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9"}],"revision":"00c38ead0a592836f4e653409f5fac6653d3468313bb3ec4e9c7781b7319be0d","sources":[{"modifiedAt":1793745583266,"name":"CNA: VulnCheck","retrievedAt":1793748331266,"url":"https://www.cve.org/CVERecord?id=CVE-2026-61495"},{"modifiedAt":1793747870427,"name":"NVD","retrievedAt":1793751770789,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61495"}],"ssvc":{"assessedAt":1793745400400,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()","updatedAt":1793751770789}