Back to CVE records
High 7.1Published Oct 9, 2026

CVE-2026-107836RIOT: nanoCoAP Block2 client slice handling underflows on inconsistent server-controlled block size

Updated under an hour ago ()

Does this affect you?

It affects RIOT-OS RIOT. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.29%, higher than 21% of scored CVEs.

RIOT is an open-source microcontroller operating system designed for Internet of Things devices and other embedded systems. In 2026.07 and earlier, the nanoCoAP client function nanocoap_sock_get_slice() in sys/net/application_layer/nanocoap/sock.c accepts a Block2 response when _block_cb() sees the expected block number without also verifying that the server-controlled szx and derived offset match the requested block geometry. A malicious CoAP server can return the expected block number with a larger block size, causing the derived offset to exceed the client slice offset and making ctx->offset - offset underflow in _2buf_slice(). The resulting buffer-relative calculation can read before the payload buffer and crash the client, causing denial of service and potentially exposing adjacent memory. No fixed release is available as of this review.

CVSS
7.1 HIGH (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-125, CWE-191
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.29% (percentile 21)
Assigned by
GitHub_M
NVD analysis
Deferred
Record last updated
Oct 9, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
RIOT-OS RIOT
riot_os:riot (from the name)
through 2026.07
CNA record

References

  • x-refsource-confirm
  • x-refsource-misc
  • x-refsource-misc

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.