Paper/Archive/CVE-2026-22214

CVE-2026-22214

RIOT RIOT OS — RIOT OS <= 2026.01-devel-317 Stack-Based Buffer Overflow in ethos Serial Frame Parser

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
RIOT OS≤ 2026.01-devel-317–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)6.8CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

exploitseclists.org/fulldisclosure/2026/Jan/16refriot-os.orgrefgithub.com/RIOT-OS/RIOTwriteupvulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser