CVE-2022-36063
USBX Host CDC ECM integer underflow with buffer overflow
Mitigation
- Upgrade usbx to 6.1.12 or later.
Who should check
- Anyone running azure-rtos usbx < 6.1.12
Vulnerability facts
- Affected
- azure-rtos usbx < 6.1.12
- Fixed in
- azure-rtos usbx 6.1.12
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 7.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: High
- EPSS
- 2.14% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-121, CWE-191
- Modified
Description
Azure RTOS USBx is a USB host, device, and on-the-go (OTG) embedded stack, fully integrated with Azure RTOS ThreadX and available for all Azure RTOS ThreadX–supported processors. Azure RTOS USBX implementation of host support for USB CDC ECM includes an integer underflow and a buffer overflow in the `_ux_host_class_cdc_ecm_mac_address_get` function which may be potentially exploited to achieve remote code execution or denial of service. Setting mac address string descriptor length to a `0` or `1` allows an attacker to introduce an integer underflow followed (string_length) by a buffer overflow of the `cdc_ecm -> ux_host_class_cdc_ecm_node_id` array. This may allow one to redirect the code execution flow or introduce a denial of service. The fix has been included in USBX release [6.1.12](https://github.com/azure-rtos/usbx/releases/tag/v6.1.12_rel). Improved mac address string descriptor length validation to check for unexpectedly small values may be used as a workaround.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| azure-rtos usbx | < 6.1.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-36063. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-36063.md Affected: azure-rtos usbx < 6.1.12 Fixed in: azure-rtos usbx 6.1.12 Steps: 1. Search this machine and project for azure-rtos usbx: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-36063 being exploited?
There is no confirmed exploitation: CVE-2022-36063 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-36063?
High: CVSS 7.6 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-36063?
azure-rtos usbx < 6.1.12.
Is there a fix for CVE-2022-36063?
Yes. Fixed in azure-rtos usbx 6.1.12. Upgrade usbx to 6.1.12 or later.
How do I check if I'm affected by CVE-2022-36063?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.