Skip to main content

Zephyr RTOS EUVDEUVD-2026-133387

| CVE-2026-102956 LOW
Use After Free (CWE-416)
2026-11-23 zephyr
3.1
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Recon
    Gain local-link (adjacent) access
  2. Delivery
    Spoof non-responding on-subnet IPv4 addresses
  3. Exploit
    Drive ARP cache into all-pending state
  4. Install
    Trigger NET_ARP_PKT_REPLACED premature free
  5. C2
    Coincident ARP send failure plus slab-slot reuse
  6. Execute
    Stray unref frees in-use packet
  7. Impact
    Network stack memory corruption or crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Requires CONFIG_NET_ARP enabled with Ethernet L2 and IPv4 transmit on an affected Zephyr build (>= 4.2.0 < 4.3.2, or >= 4.4.0 < 4.5.0); the attacker must be on the same local Ethernet link (AV:A). The attacker CAN induce the all-pending ARP state cheaply because CONFIG_NET_ARP_TABLE_SIZE defaults to 2. However, exploitation is LIMITED by two conditions outside attacker control: an ARP request transmit must fail (driver send error or ethernet_fill_header() failure), and the freed net_pkt slab slot must be reallocated to an unrelated packet within a narrow preemption window - made reachable because CONFIG_NET_TC_TX_COUNT defaults to 0, so sends run in caller threads that can be preempted mid-window. If the freed slot is not reused, the stray ref/unref are no-ops on a zero refcount and no corruption occurs. Not exploitable remotely across routers (adjacent only) and causes no confidentiality or integrity impact.

Impact

This is a genuinely low-priority issue and the signals agree. The CVSS 3.1 vector (AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, base 3.1 Low) encodes the two facts that matter most: impact is availability-only (C:N/I:N) and attack complexity is High. The High complexity is well-supported by the GHSA evidence rather than merely asserted - reaching memory corruption requires three things to line up: the attacker drives the ARP cache into the all-pending state (easy, since CONFIG_NET_ARP_TABLE_SIZE defaults to 2), AND a transmit failure occurs that the attacker does not directly control (a driver send error or ethernet_fill_header() failure), AND the freed net_pkt slab slot is reused inside a narrow preemption window (ref/unref are no-ops on a zero refcount, so without reuse there is no harm). The vuln.today decision label is 'monitor' and the product reporter is the Zephyr project itself; there is no CISA KEV listing, no EPSS score supplied, and no public exploit identified at time of analysis - only a vendor patch commit and a GHSA advisory. No signals conflict. The one caveat worth stating: the most realistic outcome by the vendor's own description is a stack crash/DoS, and the memory-corruption path depends on conditions (transmit failure + slab reuse race) that an attacker cannot reliably force, so even the A:L impact is probabilistic in practice. Priority: patch on normal maintenance cadence, not as an emergency.

Exploit ScenarioDerived

An attacker on the same Ethernet link (AV:A, adjacent, unauthenticated per PR:N) spoofs a few non-responding on-subnet IPv4 addresses to elicit traffic that fills all ARP cache entries (default size 2), forcing net_arp_prepare() to return NET_ARP_PKT_REPLACED with no ARP-held reference. If an ARP request send then fails and the freed net_pkt slab slot is reused within a narrow preemption window, a stray unref frees an unrelated in-use packet, corrupting or crashing the network stack. No public exploit identified at time of analysis; the attacker cannot directly control the required transmit failure or the slab-reuse race, making reliable exploitation hard.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 23, 2026

Use-after-free in the Zephyr Ethernet L2 transmit path can corrupt the network stack or crash it on builds running Zephyr 4.2.0 through 4.3.1 and 4.4.0, where ethernet_send() drops the caller's reference on an IPv4 packet whenever net_arp_prepare() reports NET_ARP_PKT_REPLACED - including the case where ARP merely failed to queue the packet. A host on the same local link can cheaply saturate the ARP cache (CONFIG_NET_ARP_TABLE_SIZE defaults to 2) with spoofed, non-responding on-subnet addresses, but memory corruption additionally requires a transmit failure the attacker does not control plus a narrow net_pkt slab-reuse race, so realistic impact is denial of service (corruption or crash) rather than code execution. Severity is low (CVSS 3.1, AV:A/AC:H, A:L only); no public exploit code is identified at time of analysis and the issue does not appear in CISA KEV, which is consistent with the monitor-level priority assigned.

RemediationAI

Vendor-released patch: fixed in Zephyr 4.3.2 and 4.5.0 - upgrade to those releases (or a later line that has taken the equivalent backport) as the complete fix; the upstream change is commit 63ddd9d5463e09fa8271a34eaea4987c619a2bac (PR #119596 on main, PR #121139 on v4.3-branch, PR #121140 on v4.4-branch) and the advisory is at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rwfj-w5cf-pw39. Builds that cannot be updated immediately can reduce exposure by raising CONFIG_NET_ARP_TABLE_SIZE above its default of 2, which makes it harder for an on-link host to force the all-pending state the bug depends on, at the cost of extra RAM per ARP entry; and by setting CONFIG_NET_TC_TX_COUNT above 0 so transmits are serialized in the TX thread instead of preemptible caller threads, at the cost of a dedicated TX thread stack and a change in send timing. Neither configuration change removes the underlying reference-count error, and the corruption still requires a transmit failure and slab-slot reuse, so patching to 4.3.2 or 4.5.0 remains the only complete remediation; treating the local Ethernet segment as trusted limits who can drive the ARP cache at all.

Affected VersionsENISA

Zephyr 4.2.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 CWE-416 use-after-free rooted in Zephyr's net_pkt reference-counting contract between the Ethernet L2 layer (subsys/net/l2/ethernet/ethernet.c) and the ARP helper (subsys/net/l2/ethernet/arp.c). net_arp_prepare() returns NET_ARP_PKT_REPLACED both when it genuinely queued the original packet (taking its own net_pkt_ref via arp_prepare() at arp.c:344-348) and when it could not queue it at all because no ARP cache entry was available (arp.c:480-530, entry==NULL when every entry is pending, the table is empty, or the packet is already queued) - and in the latter case ARP holds no reference. Pre-fix ethernet_send() unconditionally unref'd the caller's packet on NET_ARP_PKT_REPLACED (ethernet.c:1013-1022), freeing the original before the replacing ARP request went out. If that request then failed (driver send error or ethernet_fill_header() failure), the arp_error path called net_pkt_ref(orig_pkt) on the freed object (ethernet.c:1085-1107) and net_if_tx() subsequently unref'd it again (net_if.c:328-330); because ref/unref are no-ops at a zero refcount (net_pkt.c:553-571,645-653), harm occurs only if the freed slab slot is reallocated to an unrelated packet inside that window, in which case the stray unref drops a reference owned by a live packet. The window is reachable because CONFIG_NET_TC_TX_COUNT defaults to 0 (net/ip/Kconfig:235-240), so transmits run in caller threads that can be preempted mid-sequence. The upstream fix removes the premature unref, defers dropping the caller's reference until after the ARP request is successfully sent, and removes the erroneous net_pkt_ref() from the error path, keying the error-path handling on pkt != orig_pkt instead of on the packet type.

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 3.1 LOW
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 3.1 LOW

AV:A (same Ethernet link) and PR:N (no auth needed); AC:H because corruption needs an attacker-uncontrolled transmit failure plus a narrow slab-reuse race; impact is DoS only, so C:N/I:N/A:L.

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

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

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

DescriptionCVE.org

ethernet_send() in subsys/net/l2/ethernet/ethernet.c dropped the caller's reference on an IPv4 packet whenever net_arp_prepare() returned NET_ARP_PKT_REPLACED. That return value is also used when ARP could not queue the packet because every ARP cache entry is already pending. In that case ARP holds no reference of its own, so the original packet was freed before the replacing ARP request was transmitted.

If transmitting the ARP request then failed (a driver send error or an ethernet_fill_header() failure), the error path called net_pkt_ref() on the freed packet. net_if_tx() then called net_pkt_unref() on it again. If the freed net_pkt slab slot was reallocated in between, the stray unref releases a reference owned by an unrelated packet, which is freed while still in use.

An attacker on the local link can drive the ARP cache into the all-pending state. CONFIG_NET_ARP_TABLE_SIZE defaults to 2, so it is enough to elicit replies to a few spoofed, non-responding on-subnet addresses. Reaching the memory corruption also needs a transmit failure the attacker does not directly control and a narrow slab-reuse race. The practical impact is corruption or a crash of the network stack (denial of service).

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
Popular embedded/IoT RTOS, widely used but confined to Ethernet-enabled Zephyr devices
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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