CVE-2026-22213

Severity CVSS v4.0:
LOW
Type:
CWE-121 Stack-based Buffer Overflow
Publication date:
12/01/2026
Last modified:
21/01/2026

Description

RIOT OS versions up to and including 2026.01-devel-317 contain a stack-based buffer overflow vulnerability in the tapslip6 utility. The vulnerability is caused by unsafe string concatenation in the devopen() function, which constructs a device path using unbounded user-controlled input. The utility uses strcpy() and strcat() to concatenate the fixed prefix '/dev/' with a user-supplied device name provided via the -s command-line option without bounds checking. This allows an attacker to supply an excessively long device name and overflow a fixed-size stack buffer, leading to process crashes and memory corruption.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:* 2025.10 (excluding)
cpe:2.3:o:riot-os:riot:2026.01:devel:*:*:*:*:*:*
cpe:2.3:o:riot-os:riot:2026.01:rc1:*:*:*:*:*:*