What’s Vulnerable › Vulnerabilities
CVE-2022-39344: Azure RTOS USBX vulnerable to buffer overflow
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-11-04 · updated 2026-06-17
- Weakness: CWE-120
Description
Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Azure RTOS ThreadX. Prior to version 6.1.12, the USB DFU UPLOAD functionality may be utilized to introduce a buffer overflow resulting in overwrite of memory contents. In particular cases this may allow an attacker to bypass security features or execute arbitrary code. The implementation of `ux_device_class_dfu_control_request` function prevents buffer overflow during handling of DFU UPLOAD command when current state is `UX_SYSTEM_DFU_STATE_DFU_IDLE`. This issue has been patched, please upgrade to version 6.1.12. As a workaround, add the `UPLOAD_LENGTH` check in all possible states.
Affected products
- Microsoft Azure Rtos Usbx: before 6.1.12 — fixed in 6.1.12
- azure-rtos usbx: before 6.1.12
How to fix
Upgrade to a fixed version: Microsoft Azure Rtos Usbx 6.1.12. Check the vendor advisory for mitigations.
References
- https://github.com/azure-rtos/usbx/security/advisories/GHSA-m9p8-xrp7-vvqp
- https://github.com/azure-rtos/usbx/security/advisories/GHSA-m9p8-xrp7-vvqp
Get alerted when CVE-2022-39344 or the next vulnerability affects your stack