Live threats

All CVEs / St

CVE-2021-42553Stm32 Mw Usb Host

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Oct 21, 2022
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Stm32 Mw Usb Host.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ststm32_mw_usb_host< 3.5.1

Official sources

References

Links published by the sources. Open them with care.