๐Ÿ” CVE Alert

CVE-2026-107838

HIGH 7.5

RIOT: nanocoap_fileserver ignores response initialization failure, leading to reachable assertion

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-252 CWE-617
Vendor riot-os
Product riot
Published Oct 9, 2026
Stay Ahead of the Next One

Get instant alerts for riot-os riot

Be the first to know when new high vulnerabilities affecting riot-os riot are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

RIOT-OS / RIOT
>= 2023.07, <= 2026.07

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-39j3-3v73-5mj2 github.com: https://github.com/RIOT-OS/RIOT/pull/22745 github.com: https://github.com/RIOT-OS/RIOT/commit/d3a47289c58d108575a19e623e4d3f647659e743