CVE-2026-22212
MEDIUMTinyOS <= 2.1.2 - Stack-based Buffer Overflow in mcp2200gpio Device Path Construction
Title source: llmDescription
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.
References (3)
Core 3
Core References
Mailing List technical-description
exploit
https://seclists.org/fulldisclosure/2026/Jan/14
Various Sources product
https://github.com/tinyos/tinyos-main
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpio
Scores
CVSS v4
4.8
EPSS
0.0013
EPSS Percentile
2.7%
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
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-121
Status
published
Products (1)
TinyOS/TinyOS
< 2.1.2
Published
Jan 12, 2026
Tracked Since
Feb 18, 2026