CVE-2026-22212
JSON

4.8medium

TinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpio

Severity
4.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
TinyOS TinyOSup to 2.1.2CVE List

Classification

CWE-121

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones de TinyOS hasta la 2.1.2 inclusive contienen una vulnerabilidad de desbordamiento de búfer basado en pila en la utilidad mcp2200gpio. La vulnerabilidad es causada por el uso inseguro de las funciones strcpy() y strcat() al construir rutas de dispositivos durante el descubrimiento automático de dispositivos. Un atacante local puede explotar esto creando nombres de archivo especialmente manipulados bajo /dev/usb/, lo que lleva a corrupción de memoria de pila y caídas de la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-22212 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-22212 changed 2026-07-14Public domain