CVE-2021-42553
criticalA 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 descr…
Vendor / product: St — stm32 mw usb host
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.
CVSS
9.8
9.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2022-10-21 10:15
Modified: 2026-10-08 18:23
NVD status: Analyzed
Last synced 3 days ago
Verified against the source API 2026-10-27 07:06 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
st / stm32_mw_usb_host <3.5.1
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Patch / mitigation: https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4
Patch / mitigation: https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4
References
- https://github.com/STMicroelectronics/stm32_mw_usb_host vulnerability@ncsc.ch
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 vulnerability@ncsc.ch
- https://github.com/STMicroelectronics/stm32_mw_usb_host af854a3a-2127-422b-91ae-364da2661108
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 af854a3a-2127-422b-91ae-364da2661108
Data sources
NVD CVE API 2.0 — fetched 2026-10-27 07:06 UTC · record ↗
