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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| STMicroelectronics STM32Cube | STM32 USB Host Library | >= all, < 3.5.1 |
References
- https://github.com/STMicroelectronics/stm32_mw_usb_hostProduct
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4Patch, Third Party Advisory
- https://github.com/STMicroelectronics/stm32_mw_usb_hostProduct
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4Patch, Third Party Advisory
Timeline
- Published
- Oct 21, 2022
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed