CVE-2021-42553 - CVE House
Back to Database
Status published Medium CVE-2021-42553

STM32 USB Host Library Buffer Overflow

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-42553

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • github.com/Defonceuse

Affected Vendor

STMicroelectronics STM32Cube

View all reports →

Affected Software

STM32 USB Host Library
Vulnerable Versions:
all

Timeline

Official Publish: October 21st, 2022
Last Modified: May 7th, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.