CVE-2026-22213

RIOT OS <= 2026.01-devel-317 Stack-Based Buffer Overflow in tapslip6 Utility

State
Published
Severity
2.4 Low
Published
Jan 12, 2026
Updated
Jul 14, 2026
Reserved
Jan 6, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
RIOT OSRIOT
  • 2026.01-devel-317 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.