{"id":"CVE-2026-107836","aliases":["CVE-2026-107836"],"related":[],"kind":"vulnerability","state":"published","title":"RIOT: nanoCoAP Block2 client slice handling underflows on inconsistent server-controlled block size","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-09T17:49:41.120Z","modified":"2026-10-16T17:17:04.113Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125","CWE-191"],"affected":[{"ranges":[{"version":"<= 2026.07","status":"affected"}],"vendor":"RIOT-OS","product":"RIOT","source":"cvelist"}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-x924-p5fq-26pc","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/pull/22518","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/commit/49b894cbe091510093273b98d92c4a17167d6839","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-09T17:59:40.461Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107836","url":"https://www.cve.org/CVERecord?id=CVE-2026-107836","licence":"CVE Terms of Use","modified":"2026-10-09T18:00:37.637Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107836","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107836","licence":"Public domain","modified":"2026-10-16T17:17:04.113Z"}],"updatedAt":"2026-11-25T22:59:43.349Z","epss":{"score":0.00294,"percentile":0.23669,"date":"2026-12-01T12:00:22.000Z"}}