RIOT OS versions up to and including 2026.01-devel-317 contain a stack-based buffer overflow vulnerability in the ethos utility due to missing bounds checking when processing incoming serial frame data. The vulnerability occurs in the _handle_char() function, where incoming frame bytes are appended to a fixed-size stack buffer without verifying that the current write index remains within bounds. An attacker capable of sending crafted serial or TCP-framed input can cause the current write index to exceed the buffer size, resulting in a write past the end of the stack buffer. This condition leads to memory corruption and application crash.
References
| Link | Resource |
|---|---|
| https://github.com/RIOT-OS/RIOT | Product |
| https://seclists.org/fulldisclosure/2026/Jan/16 | Mailing List Third Party Advisory |
| https://www.riot-os.org/ | Product |
| https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Jan 2026, 17:43
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/RIOT-OS/RIOT - Product | |
| References | () https://seclists.org/fulldisclosure/2026/Jan/16 - Mailing List, Third Party Advisory | |
| References | () https://www.riot-os.org/ - Product | |
| References | () https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser - Third Party Advisory | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
| First Time |
Riot-os
Riot-os riot |
|
| CPE | cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:* cpe:2.3:o:riot-os:riot:2026.01:devel:*:*:*:*:*:* cpe:2.3:o:riot-os:riot:2026.01:rc1:*:*:*:*:*:* |
12 Jan 2026, 23:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-01-12 23:15
Updated : 2026-01-21 17:43
NVD link : CVE-2026-22214
Mitre link : CVE-2026-22214
CVE.ORG link : CVE-2026-22214
JSON object : View
Products Affected
riot-os
- riot
CWE
CWE-121
Stack-based Buffer Overflow
