CVE-2026-102692RIOT-OS RIOT
Integer Overflow in nanocoap CoAP Block2 Option in RIOT
Critical 9.1 No auth needed
Follow: this CVE · RIOT-OS · RIOT-OS RIOT We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 16, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
nanocoap in RIOT prior to 2026.07 fails to properly validate the block number in the CoAP Block2 option, allowing oversized values to cause integer overflow on 32-bit targets. A remote CoAP client can send a malformed Block2 option that produces out-of-bounds memory access, denial of service, or memory corruption.
Show the original NVD 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.
What to do
Patch available · fixed versions: 2026.07
Update RIOT to version 2026.07 or later to apply the nanocoap fix.
- Apply the vendor's security update for RIOT.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- RIOT-OS · RIOT
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.