CVE-2026-22212
TinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio
- State
- Published
- Severity
- 4.8 Medium
- Published
- Jan 12, 2026
- Updated
- Jul 14, 2026
- Reserved
- Jan 6, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
TinyOSTinyOS |
|
References
- https://seclists.org/fulldisclosure/2026/Jan/14technical-descriptionexploit
- https://github.com/tinyos/tinyos-mainproduct
- https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpiothird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.