CVE-2026-22214

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductRiot
PublishedJan 12, 2026
First seenJan 12, 2026
Weakness typeCWE-121CWE-121

How to fix

Update
  • riot-os riot2025.10 or later

Affected products

ProductAffected versionsFixed in
riot-os riotv < 2025.10, 2026.012025.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.