Skip to content
CVE PROGRAM SOURCE RECORD4.8 Medium

CVE-2026-22212

TinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

TinyOS TinyOS

Default version status: unknown

  • 0 to ≤ 2.1.2affected
pkg:github/tinyos/tinyos-main

References