CVE-2026-22212 Details
Description
TinyOS versions up to and including 2.1.2 contain a stack-based buffer overflow vulnerability in the mcp2200gpio utility. The vulnerability is caused by unsafe use of strcpy() and strcat() functions when constructing device paths during automatic device discovery. A local attacker can exploit this by creating specially crafted filenames under /dev/usb/, leading to stack memory corruption and application crashes.
A stack-based buffer overflow vulnerability has been identified in the mcp2200gpio utility of TinyOS, affecting versions through 2.1.2. The vulnerability arises from the unsafe use of strcpy() and strcat() functions, which are employed to construct device paths during automatic device discovery. This flaw allows a local attacker to create specially crafted filenames in the /dev/usb/ directory, leading to stack memory corruption and application crashes. In non-hardened builds, this vulnerability could be exploited for arbitrary code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 12, 2026CISA-ADP
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tinyos/tinyos-main | [email protected] | Source CodeVendor |
| https://seclists.org/fulldisclosure/2026/Jan/14 | [email protected] | ExploitMailing ListTechnical Description |
| https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpio | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| TinyOS | All versions |
CPE
Remediation
| |
| TinyOS mcp2200gpio | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 12, 2026 | New CVE Received | [email protected] |
Volerion