Skip to main content

Contiki-NG CVE-2026-135291

| EUVDEUVD-2026-133240 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-23 disclosure@vulncheck.com GHSA-8h2m-xwmc-g7j8
6.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Join target RPL-Classic mesh as node
  2. Delivery
    Advertise route through a neighbor next-hop
  3. Exploit
    Let ND purge unresponsive next-hop entry
  4. Execution
    Trigger parent removal processing
  5. Impact
    Crash node via NULL next-hop dereference

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires the attacker to be an adjacent node actively participating in the victim's RPL routing network (AV:A), and requires the deployment to use the RPL-Classic routing implementation specifically - Contiki-NG's default RPL-Lite is not implicated by this report. The concrete precondition is a stale route whose next-hop neighbor entry has already been removed (the patch comment notes this happens when Neighbor Discovery removes an unresponsive next-hop, leaving uip_ds6_route_nexthop() returning NULL); the attacker must then trigger parent removal so rpl_remove_routes_by_nexthop() passes that NULL to uip_ipaddr_cmp(). Limiting factors: link-local/adjacent access only (no remote reach), high attack complexity and a present attack requirement (AC:H/AT:P) reflecting the need to orchestrate the stale-route timing, use of RPL-Classic rather than RPL-Lite, and affected versions being Contiki-NG through 5.2. No special authentication credentials are needed once admitted to the mesh (PR:N).

Impact

This is a genuine but modest-priority issue. The input CVSS 4.0 score is 6.0 (Medium), and the vector tells a consistent story: AV:A means the attacker must be adjacent and actually participating in the RPL mesh, not a remote internet attacker; AC:H plus AT:P indicate the trigger is not trivially attacker-controlled; and the impact is availability-only (VC:N/VI:N/VA:H) - a node crash, i.e. denial of service, with no confidentiality or integrity loss and no scope change. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', which aligns with the signals. No CISA KEV listing, no EPSS probability, and no proof-of-concept are present in the input, so there is no evidence of active or widespread exploitation - this reads as a correctness/robustness defect rather than an attacker's weapon of choice. The signals do not conflict: medium severity, adjacent-only reach, DoS-only impact, and a routine priority label all point the same way. The main caveat is that this is availability of a routing node in a constrained mesh, so in a safety- or availability-sensitive IoT deployment the practical consequence of crashing routing nodes may matter more than the raw score suggests; also note PR:N technically means no credentials, but it still requires being an admitted participant in the RPL network, which is a real access barrier the CVSS vector does not fully convey.

Exploit ScenarioDerived

An attacker who has joined the target's RPL-Classic mesh as a participating node arranges for a route to persist after its next-hop neighbor entry has been purged (for example after Neighbor Discovery drops an unresponsive next-hop), then triggers parent removal so that rpl_remove_routes_by_nexthop() dereferences the now-NULL next-hop, crashing the node. The adjacent-access requirement and the high attack complexity (AC:H/AT:P) mean the attacker must already be on the link and must orchestrate a specific stale-route timing condition. No public exploit code was identified at the time of analysis; only the fixing pull request and advisory are available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 23, 2026

A NULL pointer dereference in the RPL-Classic routing implementation of Contiki-NG through 5.2 lets a neighboring node that is already participating in the victim's RPL network crash the device. The attacker arranges for a route to outlive its next-hop neighbor entry, then triggers parent removal so rpl_remove_routes_by_nexthop() hands a NULL nexthop pointer to uip_ipaddr_cmp(); availability impact is high, confidentiality and integrity are unaffected. Access is link-local/adjacent only, the flaw exists solely in RPL-Classic (the default RPL-Lite stack is not implicated), and exploitation requires orchestration of the stale-route timing, which is reflected in a high attack complexity and present attack requirement; no special credentials are needed once admitted to the mesh. No public exploit code was identified at time of analysis, there is no CISA KEV entry, and the upstream fix is a GitHub pull request rather than a confirmed tagged release, which places this at modest, this-month priority rather than emergency action.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. The correction is GitHub pull request https://github.com/contiki-ng/contiki-ng/pull/3311, which introduces a NULL check on the value returned by uip_ds6_route_nexthop() before it reaches uip_ipaddr_cmp(); apply that commit or carry the equivalent guard in os/net/routing/rpl-classic/rpl.c, and track the project's release notes for the first tagged version after 5.2 that contains it, since the input data does not name a fixed release. Where the stack cannot be patched promptly, the most direct reduction in exposure is to run the RPL-Lite routing implementation instead of RPL-Classic, accepting the resulting change in routing behavior, memory footprint and interoperability testing burden for the deployment; RPL-Lite is not affected by this code path. Because the attacker must first be an admitted participant in the RPL network, tightening mesh-join admission - restricting which nodes can associate and become RPL parents or children - removes the required foothold, at the cost of reduced flexibility for dynamic or large deployments. Filtering or profiling RPL control traffic at the border router adds friction to the timing the attack depends on but does not address the underlying defect. Patches should be validated against the specific build configuration, as the bug is confined to the RPL-Classic module.

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 low-power IPv6 IoT devices, and RPL is the routing protocol it uses to build a tree over 6LoWPAN links. The affected code is in os/net/routing/rpl-classic/rpl.c, where rpl_remove_routes_by_nexthop() iterates over the uIP DS6 routing table and compares each route's next hop against a supplied address when a parent is removed. In RPL-Classic a routing table entry can outlive the corresponding neighbor entry: the patch comment in PR #3311 states this occurs when Neighbor Discovery removes an unresponsive next hop, at which point uip_ds6_route_nexthop() returns NULL. The pre-fix code passed that pointer directly to uip_ipaddr_cmp(), producing a NULL pointer dereference (CWE-476) and crashing the node. The fix takes the nexthop into a local variable and adds a NULL check before the comparison. Any node running the RPL-Classic routing module is affected; deployments built on the default RPL-Lite implementation do not contain this code path. The trigger sequence beyond what the sources describe - specifically how an attacker reliably induces the stale-route state and then the parent removal - is not described in the available sources.

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.0 MEDIUM
CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Adjacent mesh participation gives AV:A; the stale-route/next-hop-removal timing makes it AC:H; no credentials beyond network participation give PR:N; impact is node crash only, so C:N/I:N/A:H.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Adjacent
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Contiki-NG through 5.2 contains a NULL pointer dereference vulnerability in rpl_remove_routes_by_nexthop() in the RPL-Classic implementation that allows adjacent attackers to crash nodes. Attackers participating in the RPL network can create a stale route whose next-hop neighbor entry was removed, then trigger parent removal to crash the node.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche IoT/embedded OS, mostly research and specific constrained-device deployments
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.3%
Patch available No
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· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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