{"id":"CVE-2026-102692","state":"PUBLISHED","title":"RIOT: Potential integer overflow in nanocoap Block2 handling leading to out-of-bounds memory access","description":"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.","publishedAt":"2026-10-16T16:48:35.776Z","updatedAt":"2026-10-16T21:20:02.887Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["RIOT-OS RIOT"],"affected":[{"vendor":"RIOT-OS","product":"RIOT","versions":[{"version":"< 2026.07","status":"affected"}]}],"references":["https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8365-gj33-rgpf","https://github.com/RIOT-OS/RIOT/commit/6b283ace3565d931b3edff7e115d4f79339253b8","https://github.com/RIOT-OS/RIOT/commit/ee1fa0ef91874494823d476392572aeefdbc6b74","https://github.com/RIOT-OS/RIOT/releases/tag/2026.07"],"weaknesses":["CWE-190","CWE-787"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/102xxx/CVE-2026-102692.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-102692","state":"PUBLISHED","datePublished":"2026-10-16T16:48:35.776Z","dateUpdated":"2026-10-16T21:20:02.887Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-29T16:10:04.076Z"},"containers":{"cna":{"title":"RIOT: Potential integer overflow in nanocoap Block2 handling leading to out-of-bounds memory access","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"RIOT-OS","product":"RIOT","versions":[{"version":"< 2026.07","status":"affected"}]}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8365-gj33-rgpf","name":"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","name":"https://github.com/RIOT-OS/RIOT/commit/6b283ace3565d931b3edff7e115d4f79339253b8","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/commit/ee1fa0ef91874494823d476392572aeefdbc6b74","name":"https://github.com/RIOT-OS/RIOT/commit/ee1fa0ef91874494823d476392572aeefdbc6b74","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/releases/tag/2026.07","name":"https://github.com/RIOT-OS/RIOT/releases/tag/2026.07","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-16T16:48:35.776Z"},"source":{"advisory":"GHSA-8365-gj33-rgpf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T20:52:34.763359Z","id":"CVE-2026-102692","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T21:20:02.887Z"}}]}}}