CVE-2021-32771: contiki-ng Classic Buffer Overflow
Vulnerability summary
CVE-2021-32771 is a high (CVSS 8.1) Classic Buffer Overflow vulnerability in contiki-ng. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71.3% 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 affected versions it is possible to cause a buffer overflow when copying an IPv6 address prefix in the RPL-Classic implementation in Contiki-NG. In order to trigger the vulnerability, the Contiki-NG system must have joined an RPL DODAG. After that, an attacker can send a DAO packet with a Target option that contains a prefix length larger than 128 bits. The problem was fixed after the release of Contiki-NG 4.7. Users unable to upgrade may apply the patch in Contiki-NG PR #1615.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
+0.07 pp
From 1.29% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Contiki-ng1 product
- contiki-ng< 4.8
1 vendor · 1 product
References
4 links- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6wX Refsource CONFIRMThird Party Advisory
- github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20fX Refsource MISCPatchThird Party Advisory