Skip to content
FlawDB
Sign in

CVE-2026-104379

MEDIUM 5.9EPSS 14%

Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data

AI summary AI generated

An adjacent attacker can trigger a use-after-free in Zephyr's network stack by racing IPv6 neighbor discovery with IPv4 traffic, causing double free or use-after-free of packet buffers and likely a device crash.

Mitigation

  • Upgrade zephyr to 4.5.0 or later.

Who should check

  • Anyone running zephyrproject zephyr >= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0

Vulnerability facts

Affected
zephyrproject zephyr >= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in
zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.9 (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 14, 2026-11-30)
CWE
CWE-416
Published
Modified

Description

net_if_try_send_data() in subsys/net/ip/net_if.c reads net_pkt_family(pkt) a second time after calling net_ipv6_prepare_for_send(). When that function returns NET_CONTINUE it has already handed the packet off: IPv6 fragmentation (CONFIG_NET_IPV6_FRAGMENT) unreferences it before returning, and the neighbor discovery path queues it on the neighbor's pending queue, from where the RX thread may transmit and free it as soon as a Neighbor Advertisement arrives, or the NS error and timeout paths may free it. If the freed net_pkt is reallocated to an IPv4 or ARP packet before the sending thread resumes (the slab free list is LIFO, so the next TX allocation receives it), the stale pointer now reports NET_AF_INET. net_ipv4_prepare_for_send() then runs on a packet the caller does not own, replaces the NET_CONTINUE verdict with NET_OK, and net_if_try_queue_tx() queues the foreign packet for transmission a second time. The packet is then transmitted and unreferenced twice, or the TX thread dereferences an already released buffer. On a dual-stack device an adjacent attacker can open this window by answering the device's Neighbor Solicitations while sending IPv4 traffic that makes the stack allocate TX packets, such as ICMPv4 echo requests. The result is a double free or use-after-free of network packet and buffer memory in the kernel network stack, which typically crashes the device. Exploiting it requires winning a race, and ordinary dual-stack traffic can also trigger it.

Affected and fixed versions

Package / productAffectedFixedSource
zephyrproject zephyr>= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-104379. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104379.md
Affected: zephyrproject zephyr >= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-104379 being exploited?

There is no confirmed exploitation: CVE-2026-104379 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-30).

How serious is CVE-2026-104379?

Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-104379?

zephyrproject zephyr >= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0.

Is there a fix for CVE-2026-104379?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

How do I check if I'm affected by CVE-2026-104379?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 4.6CVE-2026-104931

NULL pointer dereference in USB device_next class handlers on zero-length control OUT requests

Zephyr RTOS
HIGH 7.0CVE-2026-105415

Out-of-bounds write via unchecked channel index in ESP32 MCPWM PWM driver set_cycles syscall

Zephyr RTOS
EPSS 4%
MEDIUM 5.9CVE-2026-102961

Race between IP fragment reassembly and its timeout handler causes use-after-free in the Zephyr IPv6, IPv4 and 6LoWPAN stacks

Zephyr RTOS
EPSS 39%
MEDIUM 5.9CVE-2026-104930

STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame

Zephyr RTOS
EPSS 30%
MEDIUM 6.5CVE-2026-104929

Remote Bluetooth RX livelock in STM32WBA HCI driver when receive errors are reported as busy

Zephyr RTOS
EPSS 16%
Sponsors