CVE-2026-61495
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…
Auswirkung
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.
Ein Angreifer kann die Lücke mit physischem Zugriff auf das Gerät ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Produkte · Hathach
| Produkt | Betroffene Versionen |
|---|---|
| TinyUSB | bis einschließlich 0.21.0 Version 0 ≤0.21.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/hathach/tinyusb/commit/e85c2b8affa1efbf00d398d59e7a87d3e61cc4a9
- https://www.vulncheck.com/advisories/tinyusb-out-of-bounds-write-via-mtp-container-get-string
- https://github.com/advisories/GHSA-cx2w-pw8j-8rvm
- https://nvd.nist.gov/vuln/detail/CVE-2026-61495
- https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706