Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-61495— TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()

Quick assessment

Affected
hathach TinyUSB
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

TinyUSB 0.21.0 及更早版本(已在提交 e85c2b8 中修复)存在越界写入漏洞。该漏洞位于 MTP 设备类辅助函数 中(文件路径: )。攻击者可向 TinyUSB MTP 设备发送精心构造的 MTP 字符串,其中包含未受限制的字符计数,从而利用该漏洞破坏相邻内存。由于该函数在执行 操作时未进行边界检查,攻击者可强制将最多 510 字节的数据复制到固定大小的目标缓冲区中,进而实现代码执行或导致服务拒绝(DoS)。

CVSS 6.8 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61495

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
TinyUSB 0.21.0 Out-of-Bounds Write via mtp_container_get_string()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
hathach TinyUSB 0 ~ 0.21.0 -

II. Public POCs for CVE-2026-61495

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61495

请登录查看更多情报信息。

Other References for CVE-2026-61495 (2)

IV. Related Vulnerabilities