Skip to main content

CVE-2026-107836: CWE-125: Out-of-bounds Read in RIOT-OS RIOT

0
High
VulnerabilityCVE-2026-107836cvecve-2026-107836cwe-125cwe-191
Published: 10/09/2026 (10/09/2026, 17:49:41 UTC)
Source: CVE Database V5
Vendor/Project: RIOT-OS
Product: RIOT

Description

RIOT is an open-source microcontroller operating system designed for Internet of Things devices and other embedded systems. In 2026.07 and earlier, the nanoCoAP client function nanocoap_sock_get_slice() in sys/net/application_layer/nanocoap/sock.c accepts a Block2 response when _block_cb() sees the expected block number without also verifying that the server-controlled szx and derived offset match the requested block geometry. A malicious CoAP server can return the expected block number with a larger block size, causing the derived offset to exceed the client slice offset and making ctx->offset - offset underflow in _2buf_slice(). The resulting buffer-relative calculation can read before the payload buffer and crash the client, causing denial of service and potentially exposing adjacent memory. No fixed release is available as of this review.

CVSS v4.0

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

RIOT-OS

RIOT

Affected versions
<=2026.07
GitHub Actionsmore threats →ai
riot-os/RIOT
pkg:github/riot-os/RIOT
Affected versions
<=2026.07

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/09/2026, 18:18:16 UTC

Technical Analysis

RIOT-OS versions 2026.07 and earlier contain an out-of-bounds read vulnerability in the nanoCoAP client function nanocoap_sock_get_slice() located in sys/net/application_layer/nanocoap/sock.c. The function _block_cb() accepts a Block2 response if the expected block number matches but does not verify that the server-controlled szx and derived offset correspond to the requested block geometry. A malicious CoAP server can exploit this by returning a larger block size with the expected block number, causing an offset underflow in _2buf_slice(). This leads to reading memory before the payload buffer, potentially crashing the client and exposing adjacent memory.

Potential Impact

Exploitation of this vulnerability can cause denial of service due to client crashes and may expose adjacent memory contents, which could lead to information disclosure. The vulnerability does not require privileges or user interaction beyond sending a malicious CoAP response. There are no known exploits in the wild as of the publication date.

Mitigation Recommendations

No fixed release or official patch is currently available for this vulnerability. Users should monitor the vendor advisory for updates and consider applying any future patches once released. Until then, caution is advised when interacting with untrusted CoAP servers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-08T22:34:49.289Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac92c962cdf04f65675296c

Added to database: 10/09/2026, 18:04:06 UTC

Last enriched: 10/09/2026, 18:18:16 UTC

Last updated: 10/09/2026, 18:57:31 UTC

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses