Skip to content

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

MediumCVSS 6.8 EPSS 0.88%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
RIOT-OS RIOT < 2025.10; <= 2026.01-devel-317; = 2026.01-devel; = 2026.01-rc1 2025.10 Fixed

Affected products

ProductAffected versionsFixed in
RIOT-OS RIOT <= 2026.01-devel-317 No fix listed
RIOT-OS RIOT < 2025.10 2025.10
RIOT-OS RIOT = 2026.01-devel No fix listed
RIOT-OS RIOT = 2026.01-rc1 No fix listed

References