{"id":"CVE-2026-22212","state":"PUBLISHED","title":"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.","publishedAt":"2026-01-12T23:02:45.973Z","updatedAt":"2026-07-14T15:53:17.722Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["TinyOS TinyOS"],"affected":[{"vendor":"TinyOS","product":"TinyOS","packageURL":"pkg:github/tinyos/tinyos-main","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.1.2","versionType":"semver"}],"repo":"https://github.com/tinyos/tinyos-main"}],"references":["https://seclists.org/fulldisclosure/2026/Jan/14","https://github.com/tinyos/tinyos-main","https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpio"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22212.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22212","state":"PUBLISHED","datePublished":"2026-01-12T23:02:45.973Z","dateUpdated":"2026-07-14T15:53:17.722Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-01-06T16:47:17.187Z"},"containers":{"cna":{"title":"TinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio","descriptions":[{"lang":"en","value":"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":[{"vendor":"TinyOS","product":"TinyOS","packageURL":"pkg:github/tinyos/tinyos-main","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.1.2","versionType":"semver"}],"repo":"https://github.com/tinyos/tinyos-main"}],"references":[{"url":"https://seclists.org/fulldisclosure/2026/Jan/14","tags":["technical-description","exploit"]},{"url":"https://github.com/tinyos/tinyos-main","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpio","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":4.8,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T15:53:17.722Z"},"credits":[{"lang":"en","type":"finder","value":"Ron Edgerson"}],"x_generator":{"engine":"Vulnogram 0.5.0"},"source":{"discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-13T19:06:12.050843Z","id":"CVE-2026-22212","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-13T19:06:27.766Z"}}]}}}