CVE-2026-102692 · CRITICAL (CVSS 9.1)
Summary: RIOT: Potential integer overflow in nanocoap Block2 handling leading to out-of-bounds memory access
EPSS: 0.4% probability of exploitation in the next 30 days (percentile 29.1).
Details
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.
Severity
CRITICAL (CVSS 9.1) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected packages
- GIT github.com/riot-os/riot [0 – a897b0498f635654f091bf9f33e9696aa773e886]
References
- https://github.com/RIOT-OS/RIOT/releases/tag/2026.07
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102692.json
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8365-gj33-rgpf
- https://nvd.nist.gov/vuln/detail/CVE-2026-102692
- https://github.com/RIOT-OS/RIOT/commit/6b283ace3565d931b3edff7e115d4f79339253b8
- https://github.com/RIOT-OS/RIOT/commit/ee1fa0ef91874494823d476392572aeefdbc6b74