{"id":"CVE-2026-22214","published":"2026-01-12T23:03:23Z","modified":"2026-07-14T15:53:19Z","title":"RIOT OS <= 2026.01-devel-317 Stack-Based Buffer Overflow in ethos Serial Frame Parser","vendor":"RIOT","product":"RIOT OS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00876,"percentile":0.567,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://seclists.org/fulldisclosure/2026/Jan/16","tags":["technical-description","exploit"]},{"url":"https://www.riot-os.org/","tags":["product"]},{"url":"https://github.com/RIOT-OS/RIOT","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser","tags":["third-party-advisory"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":11.34},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"riot","affectedVersions":[{"vendor":"RIOT","product":"RIOT OS","versions":["<= 2026.01-devel-317"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-13T18:50:33.856751Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-2395","exploited":false,"provenance":"source"},"exploitRefs":["https://seclists.org/fulldisclosure/2026/Jan/16"]}