Buffer overflow in Riot OS
CVE-2026-22213
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (31.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Riot OS — versions 0
- Riot-Os Riot — versions 2026.01
Weakness classification (CWE)
References
- seclists.org/fulldisclosure/2026/Jan/15 (Exploit, technical-description, Mailing List, Third Party Advisory, exploit)
- www.riot-os.org/ (Product, product)
- github.com/RIOT-OS/RIOT (Product, product)
- www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-tapslip6-ut… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-22213?
- CVE-2026-22213 is a critical-severity vulnerability in Riot OS, classified under Stack-based Buffer Overflow. CVSS score: 9.8/10. Published 2026-01-12.
- How severe is CVE-2026-22213?
- Critical severity. CVSS v3 base score is 9.8 out of 10.