{"id":"CVE-2026-22214","state":"PUBLISHED","title":"RIOT OS <= 2026.01-devel-317 Stack-Based Buffer Overflow in ethos Serial Frame Parser","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.","publishedAt":"2026-01-12T23:03:23.393Z","updatedAt":"2026-07-14T15:53:19.081Z","severity":{"score":6.8,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["RIOT RIOT OS"],"affected":[{"vendor":"RIOT","product":"RIOT OS","packageURL":"pkg:github/RIOT-OS/RIOT","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2026.01-devel-317","versionType":"custom"}],"repo":"https://github.com/RIOT-OS/RIOT"}],"references":["https://seclists.org/fulldisclosure/2026/Jan/16","https://www.riot-os.org/","https://github.com/RIOT-OS/RIOT","https://www.vulncheck.com/advisories/riot-os-stack-based-buffer-overflow-in-ethos-serial-frame-parser"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22214.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22214","state":"PUBLISHED","datePublished":"2026-01-12T23:03:23.393Z","dateUpdated":"2026-07-14T15:53:19.081Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-01-06T16:47:17.187Z"},"containers":{"cna":{"title":"RIOT OS <= 2026.01-devel-317 Stack-Based Buffer Overflow in ethos Serial Frame Parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"RIOT","product":"RIOT OS","packageURL":"pkg:github/RIOT-OS/RIOT","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2026.01-devel-317","versionType":"custom"}],"repo":"https://github.com/RIOT-OS/RIOT"}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.8,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T15:53:19.081Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:riot_project:riot:*:*:*:*:*:*:*:*","versionEndIncluding":"2026.01-devel-317"}]}]}],"credits":[{"lang":"en","type":"finder","value":"Ron Edgerson"}],"x_generator":{"engine":"Vulnogram 0.5.0"},"source":{"discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-13T18:50:33.856751Z","id":"CVE-2026-22214","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-13T18:50:40.171Z"}}]}}}