# CVE-2026-22212: TinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T23:02:45.973Z
- Modified: 2026-07-14T16:16:49.230Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- TinyOS TinyOS: up to 2.1.2

## References

- <https://seclists.org/fulldisclosure/2026/Jan/14> (exploit, technical-description)
- <https://github.com/tinyos/tinyos-main> (product)
- <https://www.vulncheck.com/advisories/tinyos-stack-based-buffer-overflow-in-mcp2200gpio> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-22212](https://www.cve.org/CVERecord?id=CVE-2026-22212), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-22212](https://nvd.nist.gov/vuln/detail/CVE-2026-22212), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-22212 · Whole record: https://cve.day/CVE-2026-22212.json · Rebuilt by cve.day 2026-11-25T22:59:12.739Z
