CVE-2026-135293 in Contiki-NG
Summary
by MITRE • 11/23/2026
Contiki-NG through 5.2 contains an infinite loop vulnerability in icmp_in() in os/net/ipv6/multicast/mpl.c that allows unauthenticated attackers to hang nodes via crafted MPL control messages. Attackers on the same link can send an MPL data message to create a seed entry, then an all-zero bit vector control message causing index wraparound and denial of service.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified in Contiki-NG versions up to 5.2 represents a critical resource exhaustion flaw within the IPv6 multicast protocol implementation, specifically affecting the MPL (Multicast Protocol for Low-Power and Lossy Networks) module. This issue resides in the icmp_in function located at os/net/ipv6/multicast/mpl.c. The core technical defect is an infinite loop triggered by malformed input data during the processing of control messages. Unlike typical denial-of-service attacks that rely on overwhelming system resources with volume, this vulnerability exploits a logical error in how index boundaries are handled when parsing specific bit vectors within MPL packets. Because Contiki-NG is designed for constrained IoT environments where CPU cycles and memory are severely limited, an infinite loop effectively halts the execution of all other tasks on the node, resulting in a complete service outage rather than just performance degradation.
The attack vector requires minimal effort from the adversary but significant proximity to the target network segment. An attacker positioned on the same local link can exploit this flaw by first sending a legitimate-looking MPL data message. This initial packet serves to establish or update a seed entry within the node's internal state, which is necessary for subsequent processing steps. Following this setup phase, the attacker transmits a crafted control message containing an all-zero bit vector. The vulnerability arises because the code fails to properly validate index bounds before accessing array elements based on bits set in this vector. When the parser encounters specific conditions related to zeroed vectors or edge cases in iteration logic, it enters a state where loop termination conditions are never met due to integer wraparound or incorrect pointer arithmetic. This causes the microcontroller to hang indefinitely as it spins within the parsing routine without returning control to the scheduler.
From an operational perspective, the impact of this vulnerability is severe for any deployment relying on Contiki-NG for mesh networking or low-power wide-area network applications. Since IoT nodes often operate unattended and are responsible for critical data collection or actuation tasks, a hung node creates blind spots in coverage and can disrupt routing paths if that node was serving as an intermediate hop. The lack of authentication requirements means that any device capable of sending IPv6 packets on the local link can trigger this condition. This is particularly dangerous in environments where physical security cannot be guaranteed, such as industrial sensor networks or smart city infrastructure deployed in public spaces. The persistence of the hang until a manual reset or power cycle further complicates remediation efforts and increases downtime costs for operators who must physically access each compromised device to restore functionality.
This vulnerability aligns with CWE-835, which describes loops that never terminate due to logic errors involving index bounds or counter updates. It also maps closely to MITRE ATT&CK technique T1499, Endpoint Denial of Service, specifically under the sub-category of resource exhaustion via infinite loops. To mitigate this risk, immediate patching to a version of Contiki-NG greater than 5.2 is required, as these versions include fixes for the index validation logic in the MPL module. In scenarios where upgrading is not immediately feasible, network segmentation strategies should be employed to restrict IPv6 multicast traffic from untrusted sources on the same link layer. Additionally, implementing strict input validation at the packet reception level and monitoring for abnormal CPU usage patterns can help detect such attacks early. Security teams should also review their deployment configurations to ensure that only authorized devices are permitted to send MPL control messages, thereby reducing the attack surface available to potential adversaries exploiting this logic flaw.