{"id":"UBUNTU-CVE-2026-61495","details":"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.","modified":"2026-11-05T11:46:35.903435151Z","published":"2026-11-03T21:17:00Z","upstream":["CVE-2026-61495"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-61495"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-61495"},{"type":"REPORT","url":"https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string"}],"affected":[{"package":{"name":"tinyusb","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/tinyusb?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.18.0+dfsg-1","binary_name":"tinyusb-source"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61495.json"}},{"package":{"name":"tinyusb","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tinyusb?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tinyusb-source","binary_version":"0.18.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61495.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}