{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-107838","published":"2026-10-09T18:17:05.640000Z","last_modified":"2026-10-16T17:17:04.113000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-252","CWE-617"],"cpes":[],"cpes_truncated":false,"vendors":["riot-os"],"products":["riot-os/riot"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-107838/","html_en":"/en/cve/CVE-2026-107838/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107838","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107838"},"untrusted":{"vendor_name":"RIOT-OS","product_name":"RIOT","desc_en":"RIOT is an open-source microcontroller operating system designed for Internet of Things devices and other embedded systems. From version 2023.07 through version 2026.07, nanocoap_fileserver callers in sys/net/application_layer/nanocoap/fileserver.c ignore a failure returned by _resp_init() when coap_build_reply() cannot fit a response header into the response buffer. A remote client can send a CoAP request with a sufficiently large extended token when nanocoap_token_ext is enabled, causing response initialization to fail while _get_file() or _get_directory() continues with stale response state. The path then reaches _calc_szx2() and its pdu->payload_len > reserve assertion, terminating the affected service or device task. No fixed release is available as of this review.","affected":[{"untrusted_vendor":"RIOT-OS","untrusted_product":"RIOT","versions":[]}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/commit/d3a47289c58d108575a19e623e4d3f647659e743","tags":[]},{"url":"https://github.com/RIOT-OS/RIOT/pull/22745","tags":[]},{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-39j3-3v73-5mj2","tags":[]}]}}