# CVE-2021-21280: Out-of-bounds write when processing 6LoWPAN extension headers

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-18T20:35:10.000Z
- Modified: 2026-06-17T03:35:11.073Z
- Weaknesses: CWE-787
- Assigned by: GitHub_M

## Description

Contiki-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 versions of Contiki-NG prior to 4.6 when transmitting a 6LoWPAN packet with a chain of extension headers. Unfortunately, the written header is not checked to be within the available space, thereby making it possible to write outside the buffer. The problem has been patched in Contiki-NG 4.6. Users can apply the patch for this vulnerability out-of-band as a workaround.

(As written by CVE List.)

## Affected

- contiki-ng contiki-ng: < 4.6; before 4.6

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-r768-hrhf-v592> (exploit, patch, third-party-advisory)
- <https://github.com/contiki-ng/contiki-ng/pull/1409> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-21280](https://www.cve.org/CVERecord?id=CVE-2021-21280), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21280](https://nvd.nist.gov/vuln/detail/CVE-2021-21280), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21280 · Whole record: https://cve.day/CVE-2021-21280.json · Rebuilt by cve.day 2026-11-25T22:58:02.014Z
