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

Read the record on cve.org

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

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
TinyOSTinyOS
  • 2.1.2 and earlierAffected

References

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.