{"id":"CVE-2026-22212","aliases":["EUVD-2026-2398","GHSA-x7h6-xxfr-j6pv"],"status":"published","title":"TinyOS \u003c= 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.","severity":{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0014,"percentile":0.03402,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-121"],"published":"2026-01-12T23:02:45Z","modified":"2026-10-28T02:31:12Z","products":[{"vendor":"tinyos","product":"tinyos"}],"references":[{"url":"https://seclists.org/fulldisclosure/2026/Jan/14","tags":["technical-description","exploit","evidence"]},{"url":"https://github.com/tinyos/tinyos-main","tags":["product","package"]},{"url":"https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpio","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22212","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x7h6-xxfr-j6pv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22212.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-22212","title":"TinyOS \u003c= 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.","status":"published","published":"2026-01-12T23:02:45.973Z","modified":"2026-07-14T15:53:17.722Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T13:39:05.585774Z"}],"euvd":[{"id":"EUVD-2026-2398","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.","status":"published","published":"2026-01-12T23:02:45Z","modified":"2026-07-14T15:53:17Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"updated_at":"2026-11-02T18:19:59.713046Z"}],"ghsa":[{"id":"GHSA-x7h6-xxfr-j6pv","title":"TinyOS versions up to and including 2.1.2 contain a stack-based buffer overflow vulnerability in...","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.","status":"published","published":"2026-01-13T00:30:46Z","modified":"2026-01-13T00:30:59Z","cvss":[{"version":"4.0","score":4.8,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T15:05:34.558577Z"}],"nvd":[{"id":"CVE-2026-22212","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.","status":"published","published":"2026-01-12T23:15:52.14Z","modified":"2026-07-14T16:16:49.23Z","cvss":[{"version":"4.0","score":4.8,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:12:03.683495Z"}],"osv":[{"id":"CVE-2026-22212","title":"TinyOS \u003c= 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.","status":"published","published":"2026-01-12T23:02:45.973Z","modified":"2026-10-28T02:31:12.815966576Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T15:44:58.42038Z"}]}}
