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.
Published: 2026-10-16
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-bounds memory access (memory corruption / denial of service)
Action: Immediate Patch
AI Analysis

Impact

The RIOT‑OS nanocoap stack incorrectly allows oversized CoAP Block2 options to exceed the 20‑bit maximum block number. The unchecked block offset multiplication on 32‑bit targets can overflow, producing an invalid slice range. A remote CoAP client can supply a malformed Block2 option that leads to out‑of‑bounds reads or writes in memory. This memory corruption can crash the device or cause denial of service. The description does not confirm any code execution path, limiting the impact to memory corruption and service disruption.

Affected Systems

The flaw exists in the RIOT‑OS master code before the 2026.07 release and is fixed in that release. All deployments that incorporate the vulnerable master baseline before 2026.07, particularly embedded devices running the nanocoap stack on 32‑bit architectures, are affected. The vulnerable code is identified by commit aeeae69e; any firmware built from that commit or later without the 2026.07 fix remains vulnerable.

Risk and Exploitability

With a CVSS score of 9.1 the vulnerability is high severity. EPSS data is not available, so the likelihood of exploitation cannot be quantified. The flaw is remotely exploitable via CoAP; an attacker needs only network connectivity to the target device and the ability to send a crafted Block2 packet. The vulnerability is not listed in CISA KEV, but the high CVSS score and potential for memory corruption warrant immediate action.

Generated by OpenCVE AI on October 16, 2026 at 20:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update RIOT‑OS to release 2026.07 or later where the integer overflow is fixed.
  • If an upgrade cannot be performed immediately, restrict or firewall CoAP traffic from untrusted sources, or disable the Block2 transfer feature in the nanocoap configuration until the patch is applied.
  • Disable the Block2 feature in the nanocoap configuration to eliminate the vulnerability when upgrading is not feasible.

Generated by OpenCVE AI on October 16, 2026 at 20:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Riot-os
Riot-os riot
Vendors & Products Riot-os
Riot-os riot

Fri, 16 Oct 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title RIOT: Potential integer overflow in nanocoap Block2 handling leading to out-of-bounds memory access
Weaknesses CWE-190
CWE-787
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T21:20:02.887Z

Reserved: 2026-09-29T16:10:04.076Z

Link: CVE-2026-102692

cve-icon Vulnrichment

Updated: 2026-10-16T20:52:35.979Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T17:17:16.980

Modified: 2026-10-16T22:17:08.800

Link: CVE-2026-102692

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T02:00:07Z

Weaknesses