# CVE-2022-36052: Out-of-bounds read when decompressing UDP header

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- 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): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-09-01T12:05:11.000Z
- Modified: 2026-06-17T04:52:49.020Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The 6LoWPAN implementation in Contiki-NG may cast a UDP header structure at a certain offset in a packet buffer. The code does not check whether the packet buffer is large enough to fit a full UDP header structure from the offset where the casting is made. Hence, it is possible to cause an out-of-bounds read beyond the packet buffer. The problem affects anyone running devices with Contiki-NG versions previous to 4.8, and which may receive 6LoWPAN packets from external parties. The problem has been patched in Contiki-NG version 4.8.

(As written by CVE List.)

## Affected

- contiki-ng contiki-ng: < 4.8; before 4.8

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/contiki-ng/contiki-ng/pull/1648> (patch, third-party-advisory)
- <https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-vwr8-6mqv-x7f5> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-36052](https://www.cve.org/CVERecord?id=CVE-2022-36052), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-36052](https://nvd.nist.gov/vuln/detail/CVE-2022-36052), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36052 · Whole record: https://cve.day/CVE-2022-36052.json · Rebuilt by cve.day 2026-11-25T22:58:14.599Z
