What’s Vulnerable › Vulnerabilities
CVE-2022-36052: Out-of-bounds read when decompressing UDP header
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-09-01 · updated 2026-06-17
- Weakness: CWE-125
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.
Affected products
- contiki-ng: before 4.8 — fixed in 4.8
How to fix
Upgrade to a fixed version: contiki-ng 4.8. Check the vendor advisory for mitigations.
References
- https://github.com/contiki-ng/contiki-ng/pull/1648
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-vwr8-6mqv-x7f5
- https://github.com/contiki-ng/contiki-ng/pull/1648
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-vwr8-6mqv-x7f5
Get alerted when CVE-2022-36052 or the next vulnerability affects your stack