CVE-2021-32771
published high CVSS 3.1 · 8.1Buffer overflow in contiki-ng
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| contiki-ng | — | contiki-ng< 4.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| contiki-ng | contiki-ng | < 4.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
4- https://github.com/contiki-ng/contiki-ng/pull/1615
- https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f
- https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w
Provider assertions
3GitHub_M · cna
Buffer overflow in contiki-ng
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b64ee4a7879ac129f715f4a63f7d5c757be4dff7cf3754d867b62352351c2f3b
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record