CVE-2023-29001
published high CVSS 4.0 · 8.7Uncontrolled recursion due to insufficient validation of the IPv6 source routing header in Contiki-NG
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| contiki-ng | contiki-ng | <= 4.9 (affected) | GitHub_M · cna |
| contiki-ng | contiki-ng | 0 through 4.9 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
2GitHub_M · cna
Uncontrolled recursion due to insufficient validation of the IPv6 source routing header in Contiki-NG
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b4a8f70b0053a96021dc867500d5676a4236379de563ccdef2c87eed8f3a0286
- Ingested
- 23 Sep 2026, 08:07:56 UTC
- Source record
- Official CVE record