CVE-2026-22214CWE-121

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

Medium · published January 12, 2026

CVSS v4.0
6.8
EPSS
0%
Percentile
39.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky buffer overflow hides in RIOT OS! When processing incoming serial frame data, the ethos utility fails to check bounds, allowing for potential memory corruption. 🔥 Think of it like a crowded subway train where too many passengers are attempting to squeeze through a narrow door without stopping to check if there's enough space — eventually, someone gets pushed out! If an attacker sends crafted serial or TCP-framed input, they could overwrite critical memory, causing the application to crash or behave unpredictably. This could lead to service outages and reliability issues for connected devices using RIOT OS. Imagine the havoc that could wreak on your IoT ecosystem!

Put simply

Think of it like a crowded subway train where too many passengers are attempting to squeeze through a narrow door without stopping to check if there's enough space — eventually, someone gets pushed out! The vulnerability in RIOT OS occurs in the _handle_char() function, where incoming bytes are appended to a fixed-size stack buffer without proper bounds checking. This oversight allows an attacker to exceed the buffer limits, leading to memory corruption.

What to do

If an attacker sends crafted serial or TCP-framed input, they could overwrite critical memory, causing the application to crash or behave unpredictably. This could lead to service outages and reliability issues for connected devices using RIOT OS. Imagine the havoc that could wreak on your IoT ecosystem! To mitigate this vulnerability, upgrade to the latest version of RIOT OS that addresses this issue. Additionally, implement input validation and bounds checking in your applications that use this utility to ensure safe processing of incoming data. Don't leave room for errors! You've got this! With these steps, you'll turn this potential weakness into a strength and keep your systems running smoothly. 🛡️

The record
Technical detail
CVSS v4.0
6.8 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00464 · 39.2th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2026-01-12T23:03Z
EPSS history
Timeline
  • 12 JAN 23:03Z
    RIOT OS <= 2026.01-devel-317 Stack-Based Buffer Overflow in ethos Serial Frame Parser
    cvelistv5