CVE-2026-22213: CWE-121 Stack-based Buffer Overflow in RIOT RIOT OS
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.
AI Analysis
Technical Summary
CVE-2026-22213 is a stack-based buffer overflow vulnerability in the tapslip6 utility of RIOT OS (up to version 2026.01-devel-317). The issue is caused by unsafe use of strcpy() and strcat() in the devopen() function, which concatenates a fixed prefix '/dev/' with a user-controlled device name from the -s option without validating input length. This lack of bounds checking allows an attacker to overflow a fixed-size stack buffer, potentially causing process crashes and memory corruption.
Potential Impact
The vulnerability can lead to process crashes and memory corruption within the tapslip6 utility. The CVSS 4.0 base score is 2.4, indicating a low severity impact. There is no indication of privilege escalation or remote code execution. Exploitation requires local access with low privileges and user interaction.
Mitigation Recommendations
No patch or official fix is currently documented for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid running tapslip6 with untrusted input for the -s option or apply input validation controls externally if possible.
CVE-2026-22213: CWE-121 Stack-based Buffer Overflow in RIOT RIOT OS
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.
CVSS v4.0
Score 2.4low
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-22213 is a stack-based buffer overflow vulnerability in the tapslip6 utility of RIOT OS (up to version 2026.01-devel-317). The issue is caused by unsafe use of strcpy() and strcat() in the devopen() function, which concatenates a fixed prefix '/dev/' with a user-controlled device name from the -s option without validating input length. This lack of bounds checking allows an attacker to overflow a fixed-size stack buffer, potentially causing process crashes and memory corruption.
Potential Impact
The vulnerability can lead to process crashes and memory corruption within the tapslip6 utility. The CVSS 4.0 base score is 2.4, indicating a low severity impact. There is no indication of privilege escalation or remote code execution. Exploitation requires local access with low privileges and user interaction.
Mitigation Recommendations
No patch or official fix is currently documented for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid running tapslip6 with untrusted input for the -s option or apply input validation controls externally if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-06T16:47:17.187Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69658281da2266e838450d28
Added to database: 01/12/2026, 23:23:45 UTC
Last enriched: 07/15/2026, 11:01:23 UTC
Last updated: 09/10/2026, 19:36:52 UTC
Views: 283
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.