Skip to main content

Contiki-NG EUVDEUVD-2026-127020

| CVE-2026-130387 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-17 VulnCheck GHSA-63r4-63j9-x6w9
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach CoAP/UDP endpoint over network
  2. Delivery
    Ensure/register observer with long URI
  3. Exploit
    Send Observe GET with shorter Uri-Path
  4. Execution
    memcmp reads past non-terminated buffer
  5. Impact
    Out-of-bounds read crashes or destabilizes service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a Contiki-NG CoAP server (through 5.2) with Observe support in use and at least one existing observer registered under a URL longer than the attacker's request path; the attacker sends a CoAP GET with the Observe option and a Uri-Path shorter than that observer's URL, which is the exact trigger stated in the description and confirmed by the patch (the fix adds obs_len <= uri_len length-delimited matching). Per the vendor CVSS vector it is unauthenticated (PR:N) and needs no user interaction (UI:N) or special attack requirement (AT:N). Limiting factors: exploitation is contingent on a longer-URL observer already being present (otherwise the shorter-than branch is not reached), and the resulting impact is bounded to availability/instability rather than confirmed data disclosure.

Impact

Multiple signals converge on a moderate, not urgent, priority. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, unauthenticated, low-complexity trigger - easy to reach on paper - but the impact is scored as availability-only (VA:L) with VC:N/VI:N, meaning the out-of-bounds read manifests as a potential crash/undefined matching rather than data exposure back to the attacker. This directly conflicts with the 'Information Disclosure' tag and the description's 'read past the buffer' framing: an OOB read here feeds memcmp comparison logic and does not return leaked memory to the attacker, so treat confidentiality impact as unconfirmed/unlikely per the vendor vector. No EPSS score was provided and the CVE is not in CISA KEV, so there is no evidence of widespread or active exploitation; the vuln.today decision label is 'this_month' (routine patching), not act_now or emergency. Exploitation also depends on a pre-existing observer with a longer URL than the attacker's request, which tempers the otherwise 'unauthenticated remote' profile. Net: a legitimate bug to patch on a normal cycle, not a drop-everything issue, and the low real-world footprint of Contiki-NG further bounds aggregate risk.

Exploit ScenarioDerived

An attacker with network reach to a Contiki-NG CoAP server that has an active Observe subscription registered under a relatively long URL sends a crafted CoAP GET carrying the Observe option and a Uri-Path shorter than that existing observer's URL. Because the vulnerable code compares using memcmp with strlen(obs->url) against the attacker's shorter, non-NUL-terminated buffer, the read runs past the supplied URI, producing an out-of-bounds read that can crash or destabilize the service (availability impact). No working public exploit is identified; the fixing PR includes only a unit test demonstrating correct length-delimited matching, not an attack tool.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 17, 2026

Out-of-bounds read in Contiki-NG's CoAP Observe implementation through 5.2 lets an unauthenticated remote attacker send a GET Observe request with a Uri-Path shorter than an existing observer's URL, causing a memcmp read past the supplied URI buffer and primarily risking server instability or crash rather than data disclosure. Triggering requires Observe support to be active and a pre-existing observer registered under a longer URL; without such an observer, the shorter-than comparison path is not reached. The upstream fix is in PR #3303, but a released patched version is not independently confirmed, and no public exploit code or CISA KEV entry is identified in the supplied data.

RemediationAI

Apply the upstream fix in PR #3303 (https://github.com/contiki-ng/contiki-ng/pull/3303) or move to a Contiki-NG release that contains it; upstream fix available (PR/commit); released patched version not independently confirmed. The patch replaces the strlen-based memcmp in coap-observe.c with length-delimited matching using uri_len and an obs_len <= uri_len guard, so integrators should use the length-delimited call path and validate with the added tests/08-native-runs/34-coap-observe coverage. Until a tagged release is confirmed, apply the PR commit to the affected os/net/app-layer/coap/coap-observe.c file and review the VulnCheck advisory at https://www.vulncheck.com/advisories/contiki-ng-through-5.2-out-of-bounds-read-via-coap-observe-uri-matching for vendor guidance; no separate workaround is documented in the supplied references.

Affected VersionsENISA

contiki-ng 0 ≤5.2

Affected Packages

euvd contiki_ng no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Contiki-NG is an open-source operating system for constrained IoT devices, and its CoAP application layer implements the Observe extension in os/net/app-layer/coap/coap-observe.c. CoAP Uri-Path values are length-delimited by uri_path_len rather than NUL-terminated, but the vulnerable coap_remove_observer_by_uri() compared an existing observer's URL against the supplied URI using memcmp(obs->url, uri, strlen(obs->url)) without first verifying that the supplied buffer was at least that long. An attacker sending a shorter Uri-Path can therefore force memcmp to read beyond the end of the request buffer, which is CWE-125 (out-of-bounds read). The patch introduces an internal remove_observer_by_uri(endpoint, uri, uri_len) that checks obs_len <= uri_len before an obs_len == 0 || memcmp(obs->url, uri, obs_len) comparison, while retaining the public coap_remove_observer_by_uri() wrapper that uses strlen(uri). The CPE entry cpe:2.3:a:contiki-ng:contiki-ng:*:*:*:*:*:*:*:* identifies the affected Contiki-NG product; the assessed impact is availability-only (VC:N, VI:N, VA:L), with no confirmed information disclosure or code execution.

Know when Contiki Ng gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remotely reachable unauthenticated CoAP request with low complexity (AV:N/AC:L/PR:N/UI:N); impact limited to availability (A:L) from the OOB read, with C:N/I:N since out-of-bounds bytes only feed memcmp and are not returned.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Contiki-NG through 5.2 contains an out-of-bounds read vulnerability in coap_remove_observer_by_uri() that allows unauthenticated remote attackers to read past the supplied URI buffer. Attackers can send a CoAP GET Observe request with a Uri-Path shorter than an existing observer's URL, causing memcmp with strlen to read beyond the non-NUL-terminated buffer.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
Low
Contiki-NG is a niche IoT/constrained-device OS, limited industry-specific footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2018-19417 CRITICAL POC
10.0 Nov 21

An issue was discovered in the MQTT server in Contiki-NG before 4.2. Rated critical severity (CVSS 10.0), this vulnerabi

CVE-2021-21280 CRITICAL POC
9.8 Jun 18

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C

CVE-2020-14935 CRITICAL POC
9.8 Aug 18

Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP bulk get request response encoding function.

CVE-2020-14934 CRITICAL POC
9.8 Aug 18

Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP agent. Rated critical severity (CVSS 9.8), t

CVE-2018-1000804 CRITICAL POC
9.8 Oct 08

contiki-ng version 4 contains a Buffer Overflow vulnerability in AQL (Antelope Query Language) database engine that can

CVE-2020-14937 CRITICAL POC
9.1 Aug 18

Memory access out of buffer boundaries issues was discovered in Contiki-NG 4.4 through 4.5, in the SNMP BER encoder/deco

CVE-2023-31129 CRITICAL
9.8 May 08

The Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message han

CVE-2023-28116 CRITICAL
9.8 Mar 17

Contiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. Rated critical sever

CVE-2022-35927 CRITICAL
9.8 Aug 04

Contiki-NG is an open-source, cross-platform operating system for IoT devices. Rated critical severity (CVSS 9.8), this

CVE-2021-21281 CRITICAL
9.8 Jun 18

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C

CVE-2021-21282 CRITICAL
9.8 Jun 18

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C

CVE-2020-24336 CRITICAL
9.8 Dec 11

An issue was discovered in Contiki through 3.0 and Contiki-NG through 4.5. Rated critical severity (CVSS 9.8), this vuln

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy