Skip to main content
Disclosures

STMicroelectronics · STM32Cube USB Host Library / MTP

USB Host MTP Storage Count Out-of-Bounds Access

SecMateSECMATE-2026-0027
VendorSTMicroelectronics
ProductSTM32Cube USB Host Library / MTP
Advisories
Timeline
Reported
Jan 2, 2026
Fixed
Jun 25, 2026
Published
Jul 2, 2026
Summary

STM32Cube USB Host Library 3.5.4 and earlier trusts the storage count returned by an MTP device without bounding it to the five-entry Storage and storinfo arrays. A malicious MTP device can report excess storage IDs and trigger out-of-bounds accesses during initialization, causing memory corruption or a host crash. ST fixed the issue in USB Host Library 3.5.5.

What's hidden in yours?

Find out