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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| RIOT | RIOT OS | <= 2026.01-devel-317 |
References
- https://github.com/RIOT-OS/RIOTProduct
- https://seclists.org/fulldisclosure/2026/Jan/16Mailing List, Third Party Advisory
- https://www.riot-os.org/Product
- https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parserThird Party Advisory
Timeline
- Published
- Jan 12, 2026
- Last modified
- Jul 14, 2026
- NVD status
- Analyzed