CVE-2022-39344
CWE-120Published: November 4, 2022· Updated: Jun 17, 2026
Official 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.
Risk Analysis
Azure RTOS USBX is vulnerable to a buffer overflow in the USB DFU UPLOAD functionality, which can lead to arbitrary code execution. This critical flaw carries a CVSS score of 9.8, reflecting the potential for full system compromise.
No public exploit is currently known, and the vulnerability is not in the CISA KEV catalog. It is remotely exploitable with low attack complexity.
Upgrade to version 6.1.12 or later. Alternatively, implement a check for the UPLOAD_LENGTH parameter in all system states.
Technical Analysis
CVE-2022-39344 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-120)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-39344 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts