Skip to content
Medium 7.0

TinyUSBのMTP処理に脆弱性、悪意あるUSBホストから任意コード実行のおそれ

CVE-2026-61495 First seen on SecPulse

Summary

TinyUSB 0.21.0以前のMTPデバイスクラスで、mtp_container_get_string()の境界チェック不備により範囲外書き込みが起きる脆弱性です。悪意のあるUSBホストが細工したMTP文字列を送ると、隣接するメモリが壊され、コード実行やサービス停止につながるおそれがあります。修正はコミットe85c2b8で入っているため、最新の情報を確認してください。CVSSv3は6.8です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

TinyUSB 0.21.0以前のMTPデバイスクラスで、mtp_container_get_string()の境界チェック不備により範囲外書き込みが起きる脆弱性です。悪意のあるUSBホストが細工したMTP文字列を送ると、隣接するメモリが壊され、コード実行やサービス停止につながるおそれがあります。修正はコミットe85c2b8で入っているため、最新の情報を確認してください。CVSSv3は6.8です。

Affected packages

PackageAffected → Fixed
hathachTinyUSB
≤ 0.21.0→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details