CVE-2026-10640: use-after-free in zephyrproject zephyr
A use-after-free vulnerability exists in Zephyr's IPv6 Neighbor Discovery send paths affecting versions 3.3.0 through 4.4.0. The issue arises when per-interface ICMP-sent statistics are updated after the network stack has released the packet reference, leading to a potential dereference of freed memory. This can cause corrupted statistics, application crashes (denial of service), or limited memory corruption. The vulnerability can be triggered by unauthenticated on-link nodes sending ICMPv6 Neighbor Solicitations to affected Zephyr nodes with native IPv6 enabled. Configurations without per-interface statistics are not affected by the memory safety issue. A fix replaces the problematic packet reference with a safer interface argument.
AI Analysis
Technical Summary
Zephyr's IPv6 Neighbor Discovery send functions (net_ipv6_send_na, net_ipv6_send_ns, net_ipv6_send_rs) update per-interface ICMP-sent statistics by calling net_pkt_iface(pkt) after net_send_data(pkt) has successfully returned. Since the network stack releases the packet reference upon successful send, the packet's memory can be freed before the statistics update occurs. This leads to a use-after-free condition when net_pkt_iface(pkt) accesses the freed memory, causing potential memory corruption, crashes, or corrupted statistics. The vulnerable code path is reachable by any unauthenticated on-link node sending ICMPv6 Neighbor Solicitations. The vulnerability affects Zephyr versions from 3.3.0 through 4.4.0. The fix involves using the already-available interface argument instead of accessing the freed packet.
Potential Impact
This vulnerability can lead to corrupted network statistics, denial of service via application crashes, or limited memory corruption on affected Zephyr devices. It does not impact confidentiality but can affect integrity and availability. The vulnerability is exploitable by unauthenticated on-link attackers sending ICMPv6 Neighbor Solicitations, potentially causing service disruption or instability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix replaces the use-after-free prone packet reference with a safe interface argument. Until an official patch is available, disabling per-interface statistics (CONFIG_NET_STATISTICS_PER_INTERFACE) can mitigate the memory safety aspect, as only a global counter is updated in that configuration. Monitor vendor advisories for an official fix and apply it once released.
CVE-2026-10640: use-after-free in zephyrproject zephyr
Description
A use-after-free vulnerability exists in Zephyr's IPv6 Neighbor Discovery send paths affecting versions 3.3.0 through 4.4.0. The issue arises when per-interface ICMP-sent statistics are updated after the network stack has released the packet reference, leading to a potential dereference of freed memory. This can cause corrupted statistics, application crashes (denial of service), or limited memory corruption. The vulnerability can be triggered by unauthenticated on-link nodes sending ICMPv6 Neighbor Solicitations to affected Zephyr nodes with native IPv6 enabled. Configurations without per-interface statistics are not affected by the memory safety issue. A fix replaces the problematic packet reference with a safer interface argument.
CVSS v3.1
Score 4.2medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Zephyr's IPv6 Neighbor Discovery send functions (net_ipv6_send_na, net_ipv6_send_ns, net_ipv6_send_rs) update per-interface ICMP-sent statistics by calling net_pkt_iface(pkt) after net_send_data(pkt) has successfully returned. Since the network stack releases the packet reference upon successful send, the packet's memory can be freed before the statistics update occurs. This leads to a use-after-free condition when net_pkt_iface(pkt) accesses the freed memory, causing potential memory corruption, crashes, or corrupted statistics. The vulnerable code path is reachable by any unauthenticated on-link node sending ICMPv6 Neighbor Solicitations. The vulnerability affects Zephyr versions from 3.3.0 through 4.4.0. The fix involves using the already-available interface argument instead of accessing the freed packet.
Potential Impact
This vulnerability can lead to corrupted network statistics, denial of service via application crashes, or limited memory corruption on affected Zephyr devices. It does not impact confidentiality but can affect integrity and availability. The vulnerability is exploitable by unauthenticated on-link attackers sending ICMPv6 Neighbor Solicitations, potentially causing service disruption or instability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix replaces the use-after-free prone packet reference with a safe interface argument. Until an official patch is available, disabling per-interface statistics (CONFIG_NET_STATISTICS_PER_INTERFACE) can mitigate the memory safety aspect, as only a global counter is updated in that configuration. Monitor vendor advisories for an official fix and apply it once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-02T15:11:40.707Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a31650b0b89be6888c91fe6
Added to database: 6/16/2026, 3:00:27 PM
Last enriched: 6/16/2026, 3:16:09 PM
Last updated: 6/16/2026, 5:58:23 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.