{"id":"CVE-2026-102692","published":"2026-10-16T16:48:35Z","modified":"2026-10-16T21:20:02Z","title":"RIOT: Potential integer overflow in nanocoap Block2 handling leading to out-of-bounds memory access","vendor":"RIOT-OS","product":"RIOT","tier":"tail","description":{"text":"RIOT is an open-source microcontroller operating system designed for Internet of Things devices and other embedded systems. Prior to 2026.07, nanocoap accepts oversized CoAP Block2 option values without enforcing the 20-bit maximum block number, allowing block offset multiplication to overflow on 32-bit targets. The affected master baseline is commit aeeae69e; the verified fix is later on master and remains unreleased. The oversized value passes from coap_get_blockopt() to coap_block_slicer_init(). A remote CoAP client can send a malformed Block2 option that produces an invalid slice range and can cause out-of-bounds memory access, denial of service, or memory corruption. This vulnerability is fixed in 2026.07.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00647,"percentile":0.45623,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8365-gj33-rgpf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RIOT-OS/RIOT/commit/6b283ace3565d931b3edff7e115d4f79339253b8","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/commit/ee1fa0ef91874494823d476392572aeefdbc6b74","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/releases/tag/2026.07","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.12},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"riot-os","affectedVersions":[{"vendor":"RIOT-OS","product":"RIOT","versions":["< 2026.07"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T20:52:34.763359Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-102945","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-riot-os-riot-cve-2026-107838","parents":[{"from":"CVE-2026-107838","to":"CVE-2026-102692","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["sys/net/application_layer/nanocoap/fileserver.c"],"commits":["https://github.com/RIOT-OS/RIOT/commit/6b283ace3565d931b3edff7e115d4f79339253b8","https://github.com/RIOT-OS/RIOT/commit/ee1fa0ef91874494823d476392572aeefdbc6b74","https://github.com/RIOT-OS/RIOT/commit/d3a47289c58d108575a19e623e4d3f647659e743"],"basis":"shared function","functions":["_get_directory","_get_file"]}]}]}}