CVE-2026-102692: RIOT nanocoap integer overflow in Block2 option parsing

CVE-2026-102692 · Severity: critical · CVSS 9.1 · Published 2026-10-16

RIOT is an operating system for embedded IoT devices that uses nanocoap to handle CoAP (Constrained Application Protocol) network communication. A remote attacker can send a malformed network packet with an oversized Block2 option that causes integer overflow, leading to memory corruption, data exposure, or denial of service on vulnerable devices.

Technologies: Riot-Os Riot. Vendors: Riot-Os.

Quick answers

Is CVE-2026-102692 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-102692 being exploited in the wild.
How severe is CVE-2026-102692?
Critical severity, with a CVSS score of 9.1, published 16 October 2026.
Which products and versions are affected?
Riot-Os Riot before 2026.07.
Is there a fix for CVE-2026-102692?
Yes: fixed in 2026.07. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-102692 attacked?
It is attacked over the network, in an operating system.
Am I affected by CVE-2026-102692?
Check whether you run Riot-Os Riot at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 2026.07

Technical details

The nanocoap library fails to enforce the 20-bit maximum for CoAP Block2 option values; oversized values pass through coap_get_blockopt() to coap_block_slicer_init(), where block offset multiplication overflows on 32-bit targets. A remote, unauthenticated attacker on the network can send a malicious CoAP Block2 option to trigger out-of-bounds memory access, denial of service, or memory corruption. The fix adds overflow checks and rejects out-of-spec 4-byte options.

Affected products

  • RIOT-OS RIOT before 2026.07

Timeline

  • 2026-10-16: disclosed
  • 2026-07-23: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.