# CVE-2022-39344: Azure RTOS USBX vulnerable to buffer overflow

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.73%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-04T00:00:00.000Z
- Modified: 2026-06-17T04:58:10.907Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- azure-rtos usbx: < 6.1.12
- microsoft azure_rtos_usbx: before 6.1.12

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/azure-rtos/usbx/security/advisories/GHSA-m9p8-xrp7-vvqp> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-39344](https://www.cve.org/CVERecord?id=CVE-2022-39344), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-39344](https://nvd.nist.gov/vuln/detail/CVE-2022-39344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39344 · Whole record: https://cve.day/CVE-2022-39344.json · Rebuilt by cve.day 2026-11-25T22:58:16.237Z
