# CVE-2026-10637: Use-after-free of `net_pkt` in IPv6 MLD send path triggerable by a link-local MLD Query

- Severity: Medium 5.9 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- 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.20%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-16T13:13:16.034Z
- Modified: 2026-11-04T04:58:08.468Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: zephyr

## Description

subsys/net/ip/ipv6_mld.c:mld_send() read the packet interface via net_pkt_iface(pkt) after net_send_data(pkt) returned successfully. Per the network stack's ownership contract (include/zephyr/net/net_core.h, and the explicit warning in subsys/net/ip/net_core.c:453-460 'do not use pkt after that call'), a successful send transfers ownership of the net_pkt and the L2 driver frees it (e.g. ethernet_send() unrefs the packet on success, subsys/net/l2/ethernet/ethernet.c:790), returning it to its k_mem_slab.

The subsequent net_pkt_iface(pkt) is therefore a read of a freed object; the recovered interface pointer is then dereferenced and incremented by the per-interface statistics path (net_stats.h UPDATE_STAT/SET_STAT) when CONFIG_NET_STATISTICS_PER_INTERFACE is enabled. If the freed slot is concurrently reallocated, pkt->iface may read back as NULL (NULL-pointer dereference / crash) or as a stale/garbage pointer (stray increment write / memory corruption).

The path is reachable remotely on the local link without authentication: handle_mld_query() (registered for NET_ICMPV6_MLD_QUERY) responds to a valid MLDv2 General Query (unspecified multicast address, hop limit 1) by calling send_mld_report() -> mld_send().

The result is a remotely triggerable denial of service of the networking stack, with a narrow possibility of memory corruption. The fix caches the interface in a local before sending and no longer touches the packet after net_send_data(). The IPv4/IGMP sibling (igmp_send) already used the corrected pattern.

(As written by CVE List.)

## Affected

- zephyr: from 1.12.0 before 4.3.1; from 4.4.0 before 4.4.1
- zephyrproject zephyr: from 1.12.0 before 4.5.0

## Every score

- zephyr: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m23w-34pp-4h92> (exploit, patch, vendor-advisory)
- <https://github.com/zephyrproject-rtos/zephyr/commit/3159c53e8e7d233c2a85a0798cf25ac441db6dae> (patch)

## Sources

- CVE List: [CVE-2026-10637](https://www.cve.org/CVERecord?id=CVE-2026-10637), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-10637](https://nvd.nist.gov/vuln/detail/CVE-2026-10637), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-10637 · Whole record: https://cve.day/CVE-2026-10637.json · Rebuilt by cve.day 2026-11-25T22:59:24.754Z
