Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-22212 EUVD-2026-2398GHSA-x7h6-xxfr-j6pv

TinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio

Published Jan 12, 2026 · Updated Jul 14, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
TinyOS TinyOS ≤ 2.1.2 —

References