Impact
The vulnerability is a use‑after‑free in Zephyr’s ICMPv6 handling path. When an ICMPv6 Echo Request or an error‑triggering packet is processed, the packet is queued for transmission and may be freed by the network send routine before statistics updates are performed. The code later calls net_pkt_iface() on the freed packet; with interface statistics collection enabled this dereferences a stale pointer and writes to its statistics field, leading to memory corruption. The flaw is classified as CWE‑416 (Use‑after‑Free). An unauthenticated remote attacker can exploit it simply by sending the triggering packets, which can crash the device or corrupt memory.
Affected Systems
The affected product is the Zephyr RTOS networking stack with the CONFIG_NET_NATIVE_IPV6 option enabled. Firmware releases approximately from version 4.2.0 through 4.4.0 are known to contain the flaw, and the issue appears when interface‑level statistics collection is configured (CONFIG_NET_STATISTICS_PER_INTERFACE > 0). Any embedded device running those Zephyr versions and exposing an IPv6 interface is vulnerable.
Risk and Exploitability
The CVSS score of 5.9 indicates a moderately high severity, mainly due to the unauthenticated remote nature of the attack and the local impact of service disruption or memory corruption. The EPSS score of less than 1% indicates that exploitation is statistically unlikely in the wild, although the exposed nature of the Wi‑Fi or Ethernet interfaces could still make it an attractive target for denial‑of‑service attacks (inferred). The vulnerability is not listed in CISA's KEV catalog, which further suggests that there are no known widespread exploitation campaigns (inferred). The attack can be performed by simply sending an ICMPv6 Echo Request or an IPv6 packet that triggers an ICMPv6 error; no special privileges or local access are required.
OpenCVE Enrichment