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.
Do this next
Free account, 1 product
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
RIOT-OS RIOT riot_os:riot (from the name) | through 2026.07 | CNA record |
References
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-x924-p5fq-26pcx-refsource-confirm
- https://github.com/RIOT-OS/RIOT/pull/22518x-refsource-misc
- https://github.com/RIOT-OS/RIOT/commit/49b894cbe091510093273b98d92c4a17167d6839x-refsource-misc
The CVE record on cve.org NVD's entry
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.