STM32 USB Host Library Buffer Overflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
A buffer overflow vulnerability in stm32_mw_usb_host of STMicroelectronics in versions before 3.5.1 allows an attacker to execute arbitrary code when the descriptor contains more endpoints than USBH_MAX_NUM_ENDPOINTS. The library is typically integrated when using a RTOS such as FreeRTOS on STM32 MCUs.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| STMicroelectronics STM32Cube | STM32 USB Host Library | all to before 3.5.1 | 3.5.1 | Patch available | CNA |
- STM32 USB Host Library VendorSTMicroelectronics STM32Cube Affected all to before 3.5.1 Fixed in 3.5.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:st:stm32_mw_usb_host:*:*:*:*:*:*:*:* | before 3.5.1 | Vulnerable | STMicroelectronics |
- cpe:2.3:a:st:stm32_mw_usb_host:*:*:*:*:*:*:*:* Versions before 3.5.1 Vulnerable ·STMicroelectronics
Remediation
- Fix · CNA STM32 USB Host Library (STMicroelectronics STM32Cube ) Fixed in 3.5.1
Timeline
- 2026-10-02 Threatist record created from CVE-2021-42553
- 2026-10-03 Alias added: GHSA-vwmv-9r25-j98p
References
Sources
- CVE-2021-42553 · CVE Program
- CVE-2021-42553 · NVD
- FIRST EPSS
- GHSA-vwmv-9r25-j98p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences