CVE-2026-107838CWE-252CWE-617

CVE-2026-107838

High · published October 9, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
26.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00339 · 26.1th percentile
Weaknesses
CWE-252 · Unchecked Return Value; CWE-617 · Reachable Assertion
Published
2026-10-09T22:17Z
References (3)
EPSS history
Timeline
  • 11 OCT 03:27Z
    EPSS moved — → 0%
    epss
  • 09 OCT 17:55Z
    RIOT: nanocoap_fileserver ignores response initialization failure, leading to reachable assertion
    cvelistv5
  • 09 OCT 17:55Z
    RIOT: nanocoap_fileserver ignores response initialization failure, leading to reachable assertion
    cvelistv5