CVE-2026-22213 Details
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.
A stack-based buffer overflow vulnerability has been identified in the tapslip6 utility of RIOT OS, affecting versions through 2026.01-devel-317. The issue arises from unsafe string concatenation in the devopen() function, which creates a device path using unbounded user-controlled input. The utility concatenates a fixed prefix '/dev/' with a user-supplied device name provided via the -s command-line option, without proper bounds checking. This vulnerability allows an attacker to supply an excessively long device name, overflow a fixed-size stack buffer, and cause process crashes and memory corruption. While exploitation requires local access, the tapslip6 utility is often run with elevated privileges, increasing the potential impact.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/RIOT-OS/RIOT | [email protected] | Product |
| https://seclists.org/fulldisclosure/2026/Jan/15 | [email protected] | ExploitMailing ListThird Party Advisory |
| https://www.riot-os.org/ | [email protected] | Product |
| https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-tapslip6-utility | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| riot-os riot | < 2025.10 2026.01 devel 2026.01 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 21, 2026 | Initial Analysis | [email protected] |
| Jan 12, 2026 | New CVE Received | [email protected] |