Read the docs
TI-2021-18838 Aliases CVE-2021-42553GHSA-vwmv-9r25-j98p

STM32 USB Host Library Buffer Overflow

Priority MEDIUM 45CWE-120Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01304 70th percentileScored 2026-11-07
Fix Fixed STM32 USB Host Library (STMicroelectronics STM32Cube ): 3.5.1

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

VendorProductAffected versionsFixed inStatusSource
STMicroelectronics STM32Cube STM32 USB Host Libraryall to before 3.5.13.5.1Patch availableCNA
  • 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

CPEVersionsRoleVendor
cpe:2.3:a:st:stm32_mw_usb_host:*:*:*:*:*:*:*:*before 3.5.1VulnerableSTMicroelectronics
  • 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

  1. 2026-10-02 Threatist record created from CVE-2021-42553
  2. 2026-10-03 Alias added: GHSA-vwmv-9r25-j98p

References

Sources