CVE-2026-102692
JSON

9.1critical

RIOT: Potential integer overflow in nanocoap Block2 handling leading to out-of-bounds memory access

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
RIOT-OS RIOT< 2026.07CVE List

Classification

CWE-190CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102692 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-102692 changed 2026-10-16Public domain