CVE-2026-22214

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.
Configurations

Configuration 1 (hide)

OR 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:*:*:*:*:*:*

History

17 Jun 2026, 10:19

Type Values Removed Values Added
Summary
  • (es) Las versiones de RIOT OS hasta e incluyendo 2026.01-devel-317 contienen una vulnerabilidad de desbordamiento de búfer basado en pila en la utilidad ethos debido a la falta de verificación de límites al procesar datos de trama serie entrantes. La vulnerabilidad ocurre en la función _handle_char(), donde los bytes de trama entrantes se añaden a un búfer de pila de tamaño fijo sin verificar que el índice de escritura actual permanezca dentro de los límites. Un atacante capaz de enviar entrada serie o enmarcada en TCP manipulada puede hacer que el índice de escritura actual exceda el tamaño del búfer, lo que resulta en una escritura más allá del final del búfer de pila. Esta condición lleva a corrupción de memoria y a un fallo de la aplicación.

21 Jan 2026, 17:43

Type Values Removed Values Added
References () https://github.com/RIOT-OS/RIOT - () https://github.com/RIOT-OS/RIOT - Product
References () https://seclists.org/fulldisclosure/2026/Jan/16 - () https://seclists.org/fulldisclosure/2026/Jan/16 - Mailing List, Third Party Advisory
References () https://www.riot-os.org/ - () https://www.riot-os.org/ - Product
References () https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser - () https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
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-07-14 16:16


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