Code execution via undersized MAC descriptor
Published Oct 10, 2022 · Updated Apr 22, 2025
Stack-based buffer overflow in Eclipse ThreadX USBX before 6.1.12 allows attackers to execute code or crash the host via a crafted USB descriptor. The _ux_host_class_cdc_ecm_mac_address_get function subtracts from a zero- or one-byte MAC string-descriptor length, underflows the calculated string length, and then overflows the cdc_ecm node-ID array. The target must enable the USB CDC ECM host class and parse a device-supplied MAC address descriptor; successful corruption can redirect execution or terminate the host.
Summary
What happened
Stack-based buffer overflow in Eclipse ThreadX USBX before 6.1.12 allows attackers to execute code or crash the host via a crafted USB descriptor. The _ux_host_class_cdc_ecm_mac_address_get function subtracts from a zero- or one-byte MAC string-descriptor length, underflows the calculated string length, and then overflows the cdc_ecm node-ID array. The target must enable the USB CDC ECM host class and parse a device-supplied MAC address descriptor; successful corruption can redirect execution or terminate the host.
The record
- CVE
- CVE-2022-36063
- Published
- Oct 10, 2022
- Updated
- Apr 22, 2025
- Vendor
- The Eclipse Foundation
- Product
- Eclipse ThreadX USBX
- Classifications
- CWE-191, CWE-1284, CWE-121, T1200
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 10, 2022CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.1.12
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo