Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach CoAP/UDP endpoint over network
-
DeliveryEnsure/register observer with long URI
-
ExploitSend Observe GET with shorter Uri-Path
-
Executionmemcmp reads past non-terminated buffer
-
ImpactOut-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Contiki Ng
View allAn issue was discovered in the MQTT server in Contiki-NG before 4.2. Rated critical severity (CVSS 10.0), this vulnerabi
Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C
Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP bulk get request response encoding function.
Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP agent. Rated critical severity (CVSS 9.8), t
contiki-ng version 4 contains a Buffer Overflow vulnerability in AQL (Antelope Query Language) database engine that can
Memory access out of buffer boundaries issues was discovered in Contiki-NG 4.4 through 4.5, in the SNMP BER encoder/deco
The Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message han
Contiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. Rated critical sever
Contiki-NG is an open-source, cross-platform operating system for IoT devices. Rated critical severity (CVSS 9.8), this
Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C
Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C
An issue was discovered in Contiki through 3.0 and Contiki-NG through 4.5. Rated critical severity (CVSS 9.8), this vuln
EUVD-2026-127020
GHSA-63r4-63j9-x6w9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB