# CVE-2023-29001: Uncontrolled recursion due to insufficient validation of the IPv6 source routing header in Contiki-NG

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA: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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-11-27T18:20:47.360Z
- Modified: 2026-06-17T05:49:09.820Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Contiki-NG is an open-source, cross-platform operating system for IoT devices. The Contiki-NG operating system processes source routing headers (SRH) in its two alternative RPL protocol implementations. The IPv6 implementation uses the results of this processing to determine whether an incoming packet should be forwarded to another host. Because of missing validation of the resulting next-hop address, an uncontrolled recursion may occur in the tcpip_ipv6_output function in the os/net/ipv6/tcpip.c module when receiving a packet with a next-hop address that is a local address. Attackers that have the possibility to send IPv6 packets to the Contiki-NG host can therefore trigger deeply nested recursive calls, which can cause a stack overflow. The vulnerability has not been patched in the current release of Contiki-NG, but is expected to be patched in the next release. The problem can be fixed by applying the patch in Contiki-NG pull request #2264. Users are advised to either apply the patch manually or to wait for the next release. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- contiki-ng contiki-ng: <= 4.9; up to 4.9

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-7p75-mf53-ffwm> (vendor-advisory)
- <https://github.com/contiki-ng/contiki-ng/pull/2264> (issue-tracking, patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-29001 · Whole record: https://cve.day/CVE-2023-29001.json · Rebuilt by cve.day 2026-11-25T22:58:34.388Z
