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

Medium 4.8 Published Updated

A local attacker can cause application crashes via stack memory corruption in TinyOS by exploiting unsafe string functions during device discovery.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-22212?

CVE-2026-22212 is a medium-severity memory corruption vulnerability in TinyOS, published on 12 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-121

Which versions are affected by CVE-2026-22212?

How do I fix CVE-2026-22212?

No fix has been published for CVE-2026-22212 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-22212 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22212 exists.

Sources

Also known as GHSA-x7h6-xxfr-j6pv.

Is CVE-2026-22212 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free