← Vulnerability feed

Vulnerability record · CVE-2022-35927 · published 4 August 2022

CVE-2022-35927: Contiki-ng classic buffer overflow vulnerability

Contiki Ng · Contiki Ng

Contiki-NG is an open-source, cross-platform operating system for IoT devices. In the RPL-Classic routing protocol implementation in the Contiki-NG operating system, an incoming DODAG Information Option (DIO) control message can contain a prefix information option with a length parameter. The value of the length parameter is not validated, however, and it is possible to cause a buffer overflow when copying the prefix in the set_ip_from_prefix function. This vulnerability affects anyone running a Contiki-NG version prior to 4.7 that can receive RPL DIO messages from external parties. To obtain a patched version, users should upgrade to Contiki-NG 4.7 or later. There are no workarounds for this issue.

9.8 CVSS 3.1 Critical EPSS 2.1% · top 19.5% CWE-120 · Classic buffer overflow
9.8CVSS 3.1 base score
2.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

Contiki-NG is an open-source, cross-platform operating system for IoT devices. In the RPL-Classic routing protocol implementation in the Contiki-NG operating system, an incoming DODAG Information Option (DIO) control message can contain a prefix information option with a length parameter. The value of the length parameter is not validated, however, and it is possible to cause a buffer overflow when copying the prefix in the set_ip_from_prefix function. This vulnerability affects anyone running a Contiki-NG version prior to 4.7 that can receive RPL DIO messages from external parties. To obtain a patched version, users should upgrade to Contiki-NG 4.7 or later. There are no workarounds for this issue.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-35927 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2018-19417Contiki-ng memory buffer overflow vulnerabilityAn issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhdr() that parses MQTT PUBLISH messages with a varia…EPSS 5.7%9.8CVE-2023-31129Contiki-ng null pointer dereference vulnerabilityThe Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message handling code for IPv6 router so…EPSS 0.64%9.8CVE-2023-28116Contiki-ng classic buffer overflow vulnerabilityContiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. In versions 4.8 and prior, an out-of-bounds write…EPSS 0.69%9.8CVE-2021-21280Contiki-ng out-of-bounds write vulnerabilityContiki-NG is an open-source, cross-platform operating system for internet of things devices. It is possible to cause an out-of-bounds write in versi…EPSS 1.1%9.8CVE-2021-21281Contiki-ng classic buffer overflow vulnerabilityContiki-NG is an open-source, cross-platform operating system for internet of things devices. A buffer overflow vulnerability exists in Contiki-NG ve…EPSS 0.92%9.8CVE-2021-21282Contiki-ng classic buffer overflow vulnerabilityContiki-NG is an open-source, cross-platform operating system for internet of things devices. In versions prior to 4.5, buffer overflow can be trigge…EPSS 0.99%9.8CVE-2020-24336Contiki and Contiki-NG DNS64 parser buffer overflow via unchecked address lengthContiki through 3.0 and Contiki-NG through 4.5 fail to validate the length of an address in Type A domain name answers parsed by ip64-dns64.c. Copyin…EPSS 59%analysed9.8CVE-2020-14934Contiki-ng out-of-bounds write vulnerabilityBuffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP agent. The function parsing the received SNMP request does not verify the…EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2022-35927), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.