# CVE-2022-36053: Out-of-bounds read in the uIP buffer module

- 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.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2022-09-01T12:00:15.000Z
- Modified: 2026-06-17T04:52:49.140Z
- 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 low-power IPv6 network stack of Contiki-NG has a buffer module (os/net/ipv6/uipbuf.c) that processes IPv6 extension headers in incoming data packets. As part of this processing, the function uipbuf_get_next_header casts a pointer to a uip_ext_hdr structure into the packet buffer at different offsets where extension headers are expected to be found, and then reads from this structure. Because of a lack of bounds checking, the casting can be done so that the structure extends beyond the packet's end. Hence, with a carefully crafted packet, it is possible to cause the Contiki-NG system to read data outside the packet buffer. A patch that fixes the vulnerability is included in Contiki-NG 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/security/advisories/GHSA-2j9c-7754-w4cw> (third-party-advisory)
- <https://github.com/contiki-ng/contiki-ng/pull/1648> (broken-link)

## Sources

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

---

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