CVE-2022-35927: Unverified DIO prefix info lengths in RPL-Classic in Contiki-NG
Vulnerability summary
CVE-2022-35927 is a critical (CVSS 9.8) Classic Buffer Overflow vulnerability in contiki-ng. EPSS estimates a 2.16% chance of exploitation in the next 30 days, higher than 82% of scored vulnerabilities.
Timeline
- 04-08-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
2.16%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
Increase +0.11 pp
From 2.05% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Contiki-ng1 product
- contiki-ng< 4.7
1 vendor · 1 product
References
3 links- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wmX Refsource CONFIRMThird Party Advisory
- github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2X Refsource MISCPatchThird Party Advisory