Skip to main content

Zephyr RTOS EUVDEUVD-2026-131707

| CVE-2026-95825 MEDIUM
Improper Update of Reference Count (CWE-911)
2026-11-20 zephyr
5.3
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Gain on-link adjacent network position
  2. Delivery
    Send crafted Router Advertisement, short valid lifetime
  3. Exploit
    Address enters deferred-removal, reference still held
  4. Execution
    Send refreshing RA re-arming lifetime timer
  5. Persist
    Expiry triggers second reference-stealing removal
  6. Impact
    Address slot released, connectivity lost

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires an adjacent/on-link attacker and a specific precondition: another subsystem must already hold a reference on the target address so the first removal defers instead of completing - in practice an active TCP connection, since tcp_conn_new() and connect() take net_if_addr_ref() on the local address. Beyond that, one of three feature-gated paths must be reachable: (1) IPv6 SLAAC with an autoconfigured (AUTOCONF) address, where attacker Router Advertisements with short-then-refreshed valid lifetimes drive address_expired() into a second net_if_ipv6_addr_rm(); (2) IPv4 with CONFIG_NET_IPV4_ACD and DHCPv4 enabled, where repeated spoofed ARP conflicts for the device's lease drive dhcpv4_acd_event_handler() to call net_if_ipv4_addr_rm() more than once; or (3) CONFIG_USERSPACE builds, where an unprivileged local user-mode thread calls net_if_ipv4_addr_rm_by_index()/net_if_ipv6_addr_rm_by_index() syscalls to trigger the release deterministically (this path is local, not adjacent). Limiting factors: affected only in versions >= 3.7.0, < 4.3.2 and >= 4.4.0, < 4.5.0; requires the device to be running the relevant networking feature and to have a live reference holder on the address; the remote paths need on-link L2 access, not arbitrary Internet routing.

Impact

This is a medium-severity, availability-only defect: CVSS 3.1 base 5.3 (AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), with confidentiality and integrity explicitly N because the advisory states there is no memory corruption or information disclosure - the reference counter refuses to go below zero and the affected objects are static array slots. No EPSS score, no CISA KEV listing, and no public PoC were provided, so there is no signal of active or imminent mass exploitation; the only forward-looking signal is the vendor's 'this_month' priority label and a published GHSA advisory with a merged fix. The vector is AV:A (adjacent/on-link), and AC:H reflects a real precondition rather than mere difficulty: a second subsystem (the TCP stack) must already hold a reference on the local address so the first removal defers instead of completing. Note a vector nuance to verify: the CVSS string is AV:A, but one of the three exploitation paths (the CONFIG_USERSPACE net_if_ipv*_addr_rm_by_index() syscalls) is a local, unprivileged user-mode trigger that would be AV:L/PR:L, not adjacent - the single AV:A vector does not capture that local variant, so model the exposure per enabled feature rather than from the headline vector alone. Overall this is a genuine but bounded DoS priority for Internet- or LAN-exposed Zephyr devices that terminate TCP connections and use SLAAC or DHCPv4-with-ACD; it is not a high-urgency RCE, and the absence of EPSS/KEV/PoC argues against emergency treatment while still warranting scheduled patching.

Exploit ScenarioDerived

An on-link attacker on the same L2 segment as a Zephyr device that holds an active TCP connection sends a Router Advertisement with a short valid lifetime for the device's autoconfigured IPv6 address, pushing it into the deferred-removal state (is_added cleared, is_used still set), then sends a refreshing RA; the next lifetime expiry performs a second removal that consumes the reference the TCP stack still owns, freeing the address slot and dropping the device's configured IP while connections believe it is live. The IPv4 equivalent uses spoofed ARP conflicts against a DHCPv4 lease when CONFIG_NET_IPV4_ACD is enabled, and on CONFIG_USERSPACE builds an unprivileged local thread can trigger it deterministically via the rm_by_index syscalls. No public exploit identified at time of analysis; the mechanism is fully detailed in the vendor GHSA and patch commit.

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

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

Alert me

AnalysisAIv1 – Nov 20, 2026

Improper reference-count handling in Zephyr's network interface address removal lets an on-link attacker (or, in USERSPACE builds, an unprivileged local thread) strip a live IP address out from under active TCP connections. Affected builds are Zephyr >= 3.7.0, < 4.3.2 and >= 4.4.0, < 4.5.0 that run IPv6 SLAAC, IPv4 with CONFIG_NET_IPV4_ACD plus DHCPv4, or CONFIG_USERSPACE, and that already have another subsystem holding a reference on the address. The result is availability-only denial of service against device connectivity; the advisory explicitly rules out memory corruption or information disclosure, and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to Zephyr 4.3.2 or 4.5.0, which contain the merged backports (v4.3-branch PR #120910, v4.4-branch PR #120911) and the main-branch fix commit 6c90a4581c492802e4f83f1a0b429e9bb0374f33; the fix makes net_if_ipv4_addr_rm() and net_if_ipv6_addr_rm() return false without calling net_if_addr_unref() when the address is already marked !is_added. Confirm the target release line has taken the backport, since releases outside 4.3.2/4.5.0 remain affected; note that the v3.7-branch backport (PR #126580) is still open, so 3.7.x deployments have no vendor fix available at time of analysis and must rely on the workarounds below. Where upgrading is not immediately possible, remove individual reachable paths and accept the stated trade-offs: disable CONFIG_NET_IPV4_ACD to close the DHCPv4/ARP-conflict route (losing IPv4 duplicate-address detection on the device), and restrict or drop CONFIG_USERSPACE builds' exposure by not granting unprivileged threads access to the net_if_ipv4_addr_rm_by_index()/net_if_ipv6_addr_rm_by_index() syscalls (losing user-mode isolation benefits). The IPv6 SLAAC route and the underlying TCP-reference precondition cannot be turned off by a simple option, so on-link layer-2 filtering of rogue Router Advertisements and ARP traffic - or otherwise isolating the device from untrusted on-link peers - is the practical compensating control until a fixed release is deployed. Full details and patch references are in https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gfv3-7jx7-4jhc.

Affected VersionsENISA

Zephyr 3.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 root cause is CWE-911, improper update of reference count, in subsys/net/ip/net_if.c. Address slots carry an atomic reference count plus the is_added and is_used flags; when net_if_ipv4_addr_rm() or net_if_ipv6_addr_rm() is called while the count is still above zero (the TCP stack takes a net_if_addr_ref() on the local address in tcp_conn_new() and on connect(), and drops it later by address value), the removal defers: is_added is cleared but is_used stays set and the slot remains in the table. Every lookup helper filters on is_used rather than is_added, so the half-removed address stays visible and can be removed again, and the pre-fix code unconditionally called net_if_addr_unref() a second time, stealing the TCP stack's reference. Three feature-gated paths reach that second call: net_if_ipv6_addr_update_lifetime() re-arms the SLAAC lifetime timer on a deferred-removed address without restoring the reference or the is_added flag, so attacker-supplied Router Advertisements with a short valid lifetime followed by a refresh drive address_expired() into the second removal via handle_prefix_autonomous(); with CONFIG_NET_IPV4_ACD and DHCPv4, spoofed ARP conflicts make ipv4_acd.c emit repeated NET_EVENT_IPV4_ACD_CONFLICT events that dhcpv4_acd_event_handler() turns into repeated net_if_ipv4_addr_rm() calls without checking is_added; and the net_if_ipv4_addr_rm_by_index()/net_if_ipv6_addr_rm_by_index() system calls expose the same kernel-side release deterministically to unprivileged user-mode threads where CONFIG_USERSPACE is set. The counter never drops below zero and the objects are static array slots, so corruption manifests only as a slot that can be reused by a new address and then released early when the stale holder tears down by address value. The upstream fix looks up the address first, and when it is already flagged !is_added it logs, returns false and skips net_if_addr_unref(); the rm_all() helpers intentionally bypass the public API and are unaffected.

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

On-link attacker via crafted RAs/ARP (AV:A), requiring a concurrent TCP reference holder and lifetime timing as preconditions (AC:H), no auth (PR:N), availability-only loss of connectivity with no memory/disclosure impact (A:H, C/I:N).

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/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
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

net_if_ipv4_addr_rm() and net_if_ipv6_addr_rm() in subsys/net/ip/net_if.c unconditionally called net_if_addr_unref() on the target address. When an earlier removal could not complete because another subsystem still held a reference (the TCP stack takes one on the local address of every connection, in tcp_conn_new() and on connect()), the address is left in place with is_added cleared and is_used still set. A second removal of such an address decremented the reference count again, consuming a reference owned by that other holder. When it was the last one, the address slot was released, its NET_EVENT_IPV*_ADDR_DEL event fired, and the slot became reusable while the holder still believed it owned a reference.

Every address lookup helper matches on is_used and not on is_added, so a half-removed address stays visible to the rest of the stack and repeat removals are readily reachable from remote input. Under IPv6 SLAAC, an on-link node that sends a Router Advertisement with a short valid lifetime causes the address to expire into the deferred state; a refreshing Router Advertisement is handled by net_if_ipv6_addr_update_lifetime(), which re-arms the lifetime timer without restoring the reference, so the next expiry performs the second, reference-stealing removal. With CONFIG_NET_IPV4_ACD and DHCPv4, repeated spoofed ARP conflicts for the device's lease drive dhcpv4_acd_event_handler() into calling net_if_ipv4_addr_rm() more than once on the same address. Where CONFIG_USERSPACE is enabled, the net_if_ipv4_addr_rm_by_index() and net_if_ipv6_addr_rm_by_index() system calls let an unprivileged user-mode thread trigger the same kernel-side release deterministically.

The impact is loss of a configured IP address while connections are still using it, and a corrupted reference count that propagates: the slot can be handed to a newly added address, and when the stale holder later tears down, net_if_addr_unref() resolves the address by value and drops the new incarnation's only reference, removing a live address a second time. The affected objects are static array slots and the counter is never decremented below zero, so there is no memory corruption or information disclosure; the consequence is denial of service against the device's network connectivity, repeatable at the attacker's pace.

The fix resolves the address before touching the reference count and returns false without calling net_if_addr_unref() when the address is already marked as removed, so the public removal API can no longer consume a reference it does not own.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular embedded/IoT RTOS, significant but not ubiquitous device footprint
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.4%
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
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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