# CVE-2021-21410: Out-of-bounds read in the 6LoWPAN implementation

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- 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.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2021-06-18T21:00:14.000Z
- Modified: 2026-06-17T03:35:31.237Z
- Weaknesses: CWE-125
- Assigned by: GitHub_M

## Description

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. An out-of-bounds read can be triggered by 6LoWPAN packets sent to devices running Contiki-NG 4.6 and prior. The IPv6 header decompression function (<code>uncompress_hdr_iphc</code>) does not perform proper boundary checks when reading from the packet buffer. Hence, it is possible to construct a compressed 6LoWPAN packet that will read more bytes than what is available from the packet buffer. As of time of publication, there is not a release with a patch available. 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; up to 4.6

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-hhwj-2p59-v8p9> (patch, third-party-advisory)
- <https://github.com/contiki-ng/contiki-ng/pull/1482> (patch, third-party-advisory)

## Sources

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

---

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