CVE-2026-22214 Details
Description
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.
A stack-based buffer overflow vulnerability has been identified in RIOT OS versions through 2026.01-devel-317. This vulnerability arises in the ethos utility, specifically within the _handle_char() function, where incoming serial frame data is processed. The issue is caused by inadequate bounds checking, allowing incoming bytes to be appended to a fixed-size stack buffer without verifying that the write index remains within safe limits. An attacker can exploit this by sending crafted serial or TCP-framed input, causing the write index to exceed the buffer size and leading to memory corruption and application crashes. Under certain conditions, this vulnerability could also allow arbitrary code execution, depending on compiler options and runtime protections.
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/16 | [email protected] | Mailing ListThird Party Advisory |
| https://www.riot-os.org/ | [email protected] | Product |
| https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser | [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] |