Skip to main content

Zephyr RTOS CVE-2026-102961

| EUVDEUVD-2026-137835 MEDIUM
Race Condition (CWE-362)
2026-11-29 zephyr
5.9
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send fragmented packets to target device
  2. Delivery
    Time extra fragment around reassembly timeout
  3. Exploit
    Win race between RX path and timeout handler
  4. Execution
    Trigger use-after-free / double-free / NULL deref
  5. Impact
    Crash network or workqueue thread (remote DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The device must be built with one of CONFIG_NET_IPV6_FRAGMENT, CONFIG_NET_IPV4_FRAGMENT, or CONFIG_NET_L2_IEEE802154_FRAGMENT (6LoWPAN); without these flags the vulnerable reassembly code is not compiled in. The attacker must send fragmented packets and pace them to interleave the receive path (net_ipv6_handle_fragment_hdr/reassemble_packet, or fragment_add_to_cache for 6LoWPAN) with the reassembly_timeout/reass_timeout handler running on the system workqueue around the reassembly timeout. Limiting factors: this is a timing-dependent race (CVSS AC:H), so reliable exploitation is easiest with preemptive network threads, driver-context receive processing, or SMP; with the default cooperative threads on a single core the attacker additionally needs the timeout handler to block while allocating a buffer (net_icmpv6_send_error blocks up to ~1s), narrowing the window. For the 6LoWPAN path the attacker must be within IEEE 802.15.4 radio range. No authentication is required (PR:N) and no user interaction is needed (UI:N).

Impact

Signals point to a genuine but second-tier priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, 5.9) correctly captures a remote, unauthenticated, availability-only defect: no confidentiality or integrity impact, and the outcome is a crash/reboot. The AC:H is the decisive moderator - this is a race condition (CWE-362) where the attacker must time fragments around the ~5-second reassembly timeout, and the GHSA evidence is explicit that the window is widest only with preemptive network threads, driver-context receive processing, or SMP, while the default cooperative single-core configuration forces the attacker to also make the timeout handler block inside a buffer allocation (net_icmpv6_send_error can block up to ~1s per subsys/net/ip/icmpv6.c). The vuln.today decision label is this_month (not act_now/emergency). KEV status is not present in the input, so this is not confirmed actively exploited; EPSS is not provided, so any widespread-exploitation probability cannot be weighed. A reproduction is claimed by the reporter on qemu_x86_64 with CONFIG_SMP (page fault to fatal error) and a reproduction plan is described in the advisory, but no released, verified weaponized exploit is indicated. Net: a real, vendor-confirmed remote DoS worth patching on a normal cycle rather than a drop-everything emergency - the availability-only CVSS number is tempered by the race-timing complexity and the absence of KEV/EPSS escalation signals.

Exploit ScenarioDerived

A remote attacker (or, for the 6LoWPAN path, one within IEEE 802.15.4 radio range) sends a stream of IP/6LoWPAN fragments to a Zephyr device built with fragment reassembly enabled, pacing additional fragments to arrive just as the reassembly timeout fires. By racing the receive path against the timeout handler, the attacker causes a use-after-free, double-free of net_pkt objects, or a NULL dereference, crashing the network-receive or system-workqueue thread for a remote denial of service. A public PoC reference exists (the reporter claims reproduction on qemu_x86_64 SMP with a run log); it is not verified as working, released exploit code, and the high attack complexity (AC:H) means reliable triggering favors preemptive-thread or SMP builds.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

A use-after-free and double-free race in Zephyr's IP fragment reassembly code lets a remote, unauthenticated sender crash the device by timing fragmented packets around the reassembly timeout, giving a denial of service in the network receive or system workqueue thread. It affects builds that enable CONFIG_NET_IPV6_FRAGMENT, CONFIG_NET_IPV4_FRAGMENT or CONFIG_NET_L2_IEEE802154_FRAGMENT (the 6LoWPAN path requires being within IEEE 802.15.4 radio range), across releases from 1.7.0 up to but excluding 4.3.2, and from 4.4.0 up to but excluding 4.5.0. Exploitation depends on winning a narrow timing window (CVSS AC:H), widest with preemptive network threads, driver-context receive processing or SMP, and no public exploit has been identified at the time of analysis; vendor fixes are available in 4.3.2 and 4.5.0.

RemediationAI

Vendor-released patch: upgrade to Zephyr 4.3.2 or 4.5.0, which contain the three fixes tracked as commits 5c2cf0d57765550f12b61f712499af744e7bee0b (IPv6, adds reass_lock around RX insertion, reassembly, cancel and net_ipv6_frag_foreach(), detaches pkt[0] before net_icmpv6_send_error()), 6222db4de27ab2418eda5167fade6fa907a8a37c (IPv4 twin) and 30f8c581fc4623f7d645b864e500c4ecf0b2da85 (6LoWPAN, adds locking and initializes entry timers once), as documented in GHSA-rwm8-p5fg-rwq7. Where firmware cannot be updated immediately, the only configuration-level mitigation is to build without the affected reassembly features (disable CONFIG_NET_IPV6_FRAGMENT, CONFIG_NET_IPV4_FRAGMENT and CONFIG_NET_L2_IEEE802154_FRAGMENT); the trade-off is that fragmented IPv6/IPv4 datagrams and 6LoWPAN fragmentation will no longer be reassembled, so large datagrams over IEEE 802.15.4 and any legitimate fragmented traffic will be dropped, and for 6LoWPAN the fragmentation support is needed for essentially all nontrivial payloads. Reducing the attack surface by limiting reachable IPv6/IPv4 fragment traffic at the network boundary, or restricting 802.15.4 radio range, lowers exposure but does not remove the race for traffic that still reaches the stack.

Affected VersionsENISA

Zephyr 1.7.0 <4.3.2
Zephyr 4.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 4.3.2, 4.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-362 concurrent access race with an unsynchronized shared resource rather than a memory-corruption primitive from malformed input. Each of the three reassembly implementations (subsys/net/ip/ipv6_fragment.c, subsys/net/ip/ipv4_fragment.c, subsys/net/l2/ieee802154/ieee802154_6lo_fragment.c) keeps a global reassembly cache array that is mutated by two execution contexts: the RX path (net_ipv6_handle_fragment_hdr()/reassemble_packet(), net_ipv4 equivalents, and fragment_add_to_cache() for 6LoWPAN) and a k_work_delayable timeout handler (reassembly_timeout()/reass_timeout()) that runs on the system workqueue. Slot liveness is inferred from k_work_delayable_remaining_get(), which returns zero both for a never-armed timer and for an expired timer whose work item is already queued, so reassembly_get() can hand out a slot that still owns net_pkt references and has a pending timeout; reassemble_packet() only calls the non-synchronous k_work_cancel_delayable(), which cannot stop a handler that is already running. On the IPv6 side a second interleaving exists where net_icmpv6_send_error() blocks for up to PKT_WAIT_TIME (about one second) in net_pkt_alloc_with_buffer() while still using the first fragment, allowing the slot to be reused and that fragment freed underneath it. The outcome is use-after-free or double free of net_pkt/net_buf objects, or a NULL pointer dereference, typically surfacing as a page fault and a fatal error halt. The published fixes add a per-implementation mutex serializing the cache between RX, timeout handler and the slot iterators (net_ipv6_frag_foreach()/net_ipv4_frag_foreach()), have a waiting handler re-check the timer and leave a released or reused entry alone, detach pkt[0] before sending the ICMPv6 Time Exceeded error (IPv6), and initialize 6LoWPAN entry timers once at allocation instead of on every set_reass_cache().

Know when Zephyr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zephyr) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Remote unauthenticated fragments (AV:N, PR:N, UI:N) but exploitation hinges on winning a timing race (AC:H); the only outcome is a crash, so C:N/I:N/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Zephyr's IPv6, IPv4 and IEEE 802.15.4 (6LoWPAN) fragment reassembly implementations each keep a global reassembly cache that two threads modify with no synchronization. In the IPv6 code in subsys/net/ip/ipv6_fragment.c, the receive path runs net_ipv6_handle_fragment_hdr() and reassemble_packet(), and the reassembly_timeout() delayable-work handler runs on the system workqueue. When a datagram completes, reassemble_packet() calls only the non-synchronous k_work_cancel_delayable(), which does not stop a timeout handler that is already running. Separately, reassembly_get() treats a slot as free as soon as its timer is no longer pending, even while that slot's handler is still running. The IPv4 code in subsys/net/ip/ipv4_fragment.c has the same structure. In the 6LoWPAN code in subsys/net/l2/ieee802154/ieee802154_6lo_fragment.c, the reass_timeout() handler frees a cache entry's packet and releases the entry while fragment_add_to_cache() on the receive path may still be using it, and set_reass_cache() re-initializes the entry's timer on every allocation.

A remote, unauthenticated attacker who can send fragmented packets to a device built with CONFIG_NET_IPV6_FRAGMENT, CONFIG_NET_IPV4_FRAGMENT or CONFIG_NET_L2_IEEE802154_FRAGMENT (for 6LoWPAN, from within IEEE 802.15.4 radio range) can time fragments around the reassembly timeout. In the IPv6 code two interleavings are reachable. In the first, the timeout handler frees the stored fragments with reassembly_cancel() while the receive path is still merging them. In the second, the receive path reuses the slot and frees a stale first fragment while the handler is blocked inside net_icmpv6_send_error() still using that fragment as the source of the ICMPv6 Time Exceeded message. The race is widest with preemptive network threads, driver-context receive processing, or SMP. With the default cooperative threads on a single core, the attacker needs the handler to block while allocating a buffer.

Winning the race causes use-after-free, double free of net_pkt objects, or a NULL pointer dereference in the network receive or workqueue thread. The typical result is a crash, which is a remote denial of service. The fixes add a mutex to each implementation that serializes its cache between the receive path and the timeout handler (and, for IPv6 and IPv4, the slot iterator net_ipv6_frag_foreach() / net_ipv4_frag_foreach()), and make a handler whose entry was released or reused while it waited leave that entry alone. The IPv6 fix also detaches the first fragment before sending the ICMPv6 error, and the 6LoWPAN fix initializes the entry timers once instead of on every allocation.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
popular embedded/IoT RTOS, but fragment reassembly is opt-in config
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy