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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 Patch, Third Party Advisory
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 Patch, Third Party Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.8 · stNVD modified 2026-10-08 18:23
Affected (CPE criteria) 1
cpe:2.3:a:st:stm32_mw_usb_host:*:*:*:*:*:*:*:*
References 4
- https://github.com/STMicroelectronics/stm32_mw_usb_host Product
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 Patch, Third Party Advisory
- https://github.com/STMicroelectronics/stm32_mw_usb_host Product
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 Patch, Third Party Advisory