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

Published Oct 16, 2026
·
Updated

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 coapgetblockopt() to coapblockslicerinit(). 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 Software

1 affected component
RIOT RIOT<2026.07

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RIOT nanocoap to a version that resolves this vulnerability.

    Fixed in 2026.07

Event History

Oct 16, 2026
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

RIOT deployments using nanocoap on 32-bit targets are exposed if they are running a version prior to 2026.07 or the affected master baseline at commit aeeae69e. The vulnerable code processes CoAP Block2 options.

2

What does an attacker need to exploit it?

An attacker only needs network access to act as a remote CoAP client and send a malformed, oversized Block2 option. No privileges or user interaction are required.

3

Is an immediate upgrade available?

Yes. The issue is fixed in RIOT 2026.07. A verified fix is also present in master after the affected baseline, although it was described as unreleased before the 2026.07 release.

4

What is the impact if exploitation succeeds?

The oversized Block2 value can overflow block-offset multiplication, creating an invalid slice range. This can result in out-of-bounds memory access, denial of service, or memory corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203