Skip to main content

Zephyr RTOS CVE-2026-95826

| EUVDEUVD-2026-131708 HIGH
Out-of-bounds Write (CWE-787)
2026-11-20 zephyr
7.5
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 IPv6 access to target
  2. Delivery
    Send spoofed Router Advertisement inflating MTU
  3. Exploit
    Elicit response frame larger than tx_buf
  4. Execution
    Driver copies oversized frame past buffer
  5. Persist
    Out-of-bounds write corrupts adjacent .bss
  6. Impact
    Kernel data corruption, crash, or control-flow influence

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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 an unauthenticated attacker on the same physical/link-local segment (AV:A) as a Zephyr device running the SMSC911x/LAN9220 Ethernet driver - in practice the ARM MPS2/MPS3/MPS4 boards whose device trees instantiate smsc,lan9220. IPv6 must be enabled and CONFIG_NET_IPV6_FRAGMENT must be at its default (disabled), since with fragmentation on the MTU/length check would bound the frame. The attacker must be able to inject a Router Advertisement that passes the hop-limit-255 and link-local-source gates to raise net_if MTU, and the device must then transmit a frame larger than NET_ETH_MAX_FRAME_SIZE (1514, or 1518 with VLAN) - e.g. a TCP segment or UDP datagram from a service that returns more than ~1.5 KB. Limiting factors: adjacency (not internet-exploitable), the need for an oversized-response service to be reachable, and the non-default-dependent but default-present fragmentation setting; these underpin the AC:H rating despite PR:N.

Impact

This is a genuine memory-safety defect (CWE-787 out-of-bounds write) but the real-world signals point to moderate, not critical, urgency. The CVSS 3.1 vector (AV:A/AC:H/PR:N/UI:N) is the strongest evidence: exploitation is unauthenticated (PR:N) but confined to the same link (AV:A, an on-link Router Advertisement attacker - not internet-routable) and rated high-complexity (AC:H) because it requires chaining an RA-driven MTU inflation with the device actually emitting a frame larger than ~1.5 KB from some service. No CISA KEV listing is present and no EPSS score was supplied, so exploitation probability cannot be quantified from the input; there is no public exploit reference either, only the vendor patch and GHSA advisory. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patch-promptly posture rather than a drop-everything event. The C:H/I:H/A:H impact rating is plausible given control-flow influence is possible where clobbered globals hold pointers, but the advisory itself frames the likely outcome as adjacent-data corruption and crash, with code execution only 'potential' - so the Availability impact is the most certain and Confidentiality the most speculative. Net: a real priority to patch, but mitigated by the adjacency requirement, high attack complexity, and the narrow set of boards that instantiate this driver, rather than a mass-exploitation threat.

Exploit ScenarioDerived

An unauthenticated attacker on the same link (e.g. the local Ethernet/Wi-Fi segment) sends a spoofed IPv6 Router Advertisement carrying an inflated MTU option (up to 0xffff), which handle_ra_input() accepts after only the standard hop-limit-255 and link-local-source checks. The attacker then elicits a response larger than ~1.5 KB from any service on the device (an oversized TCP segment or UDP datagram), causing eth_tx() to copy the frame past the fixed NET_ETH_MAX_FRAME_SIZE staging buffer into adjacent .bss. No public exploit code was identified in the provided data; exploitation requires the device to be running a service that returns oversized responses, consistent with the AC:H rating.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

An out-of-bounds write in Zephyr's SMSC911x/LAN9220 Ethernet driver (drivers/ethernet/eth_smsc911x.c) lets an unauthenticated attacker on the same link cause the device to copy a transmitted frame larger than the 1514-byte (1518 with VLAN) static tx_buf past the end of that buffer in .bss. The ingress route is a Router Advertisement that sets the interface MTU (honored up to 0xffff), after which the stack builds and the driver transmits an oversized frame - for example a TCP segment or UDP datagram from a service returning more than ~1.5 KB - yielding corruption of adjacent kernel globals, a crash, and potentially control-flow influence where the clobbered globals hold pointers. Exploitation requires link adjacency (not internet-reachable), IPv6 enabled, CONFIG_NET_IPV6_FRAGMENT left at its default of disabled, and a reachable oversized-response service, which is why the assessed vector is AV:A/AC:H/PR:N despite the lack of authentication. No public exploit code was identified at time of analysis; the vendor has released fixed versions 4.3.2 and 4.5.0.

RemediationAI

Vendor-released patch: 4.3.2 and 4.5.0 - upgrade to 4.3.2 or 4.5.0, or take the backports merged on main, v4.4-branch, v4.3-branch and v3.7-branch (PRs #118994, #120046, #120048, #120047), all of which carry commit 84de8990c30b13f713ec4913684d214ba85e33d0 that rejects frames larger than NET_ETH_MAX_FRAME_SIZE with -EMSGSIZE before any TX_DATA_PORT write; details are in https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-r2gv-c3q9-4fmj. Where upgrading is not yet possible, the documented chain shows that the unchecked path depends on IPv6 output length validation being compiled out, so enabling CONFIG_NET_IPV6_FRAGMENT causes the IPv6 output path to compare packets against the interface MTU before transmission and bounds the frame before it reaches eth_tx() - at the cost of pulling in IPv6 fragmentation support and the additional code and reassembly surface it brings, and without repairing the missing length check in the driver itself. Because the MTU inflation arrives via an on-link Router Advertisement that only has to pass the hop-limit-255 and link-local-source gates, isolating the SMSC911x/LAN9220-equipped device from untrusted layer-2 segments (or from IPv6 router advertisements in that segment) removes the practical trigger for the oversized frame; this does not fix the underlying missing bound in eth_tx().

Affected VersionsENISA

Zephyr 1.14.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

This is a CWE-787 out-of-bounds write rooted in an API misuse introduced by commit ebd2edbaafe949626439b4aed6df4dbdcfc60eb5 ("drivers/ethernet: Switch SMSC911x to new net_pkt API", 2019-02-08), which replaced a bounded net_frag_linearize(tx_buf, sizeof(tx_buf), ...) with an unbounded net_pkt_read(pkt, tx_buf, total_len). eth_tx() staged every outgoing frame into a static uint8_t tx_buf[NET_ETH_MAX_FRAME_SIZE] and took the length straight from net_pkt_get_len(pkt); because net_pkt_read() accepts no destination size and only fails when the packet is shorter than the requested length, any longer packet overran the buffer, and smsc_write_tx_fifo() then re-read total_len bytes from the over-run buffer so the corruption was never detected. Nothing in the TX path bounded the frame: ethernet_send() in subsys/net/l2/ethernet/ethernet.c applies no length check before handing the packet to net_l2_send(), and the IPv6 output MTU comparison in ipv6_nbr.c only exists inside #if defined(CONFIG_NET_IPV6_FRAGMENT), which is disabled by default. Frame size is therefore governed by the interface MTU, and that MTU is remotely settable: handle_ra_input() calls net_if_set_mtu() for any Router Advertisement MTU option in [1280, 0xffff] (MAX_IPV6_MTU is 0xffff), gated only by the standard hop-limit-255 and link-local-source checks, and net_if_set_mtu() in include/zephyr/net/net_if.h is a bare store that never consults driver capability. With the MTU inflated, pkt_buffer_length() sizes TX allocations from net_if_get_mtu() and conn_mss in tcp_send_data() derives from the same value, so the stack itself builds the oversized frames. The affected hardware instances are the smsc,lan9220 device-tree nodes on the ARM MPS2, MPS3 and MPS4 boards. The fix adds a total_len > NET_ETH_MAX_FRAME_SIZE check returning -EMSGSIZE before any TX_DATA_PORT write, so the controller FIFO is also not left holding a command word without its payload.

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

On-link RA injection is unauthenticated (AV:A/PR:N/UI:N) but chaining MTU inflation with an oversized-response trigger makes it AC:H; OOB write yields crash and corruption with potential control-flow influence, so I:H/A:H and C:H.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/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
High
Integrity
High
Availability
High

DescriptionCVE.org

The SMSC911x/LAN9220 Ethernet driver stages every outgoing frame in a fixed-size static buffer before pushing it to the controller FIFO. eth_tx() in drivers/ethernet/eth_smsc911x.c took the frame length from net_pkt_get_len(pkt) and passed it directly to net_pkt_read(pkt, tx_buf, total_len), with no comparison against the size of tx_buf (NET_ETH_MAX_FRAME_SIZE). net_pkt_read() takes no destination size and only fails when the packet is shorter than the requested length, so any packet longer than the staging buffer was copied past its end.

Nothing between the IP layer and the driver bounds the frame to what the link can carry: ethernet_send() in subsys/net/l2/ethernet/ethernet.c performs no length check, and the IPv6 output path only compares the packet against the interface MTU when CONFIG_NET_IPV6_FRAGMENT is enabled (it is disabled by default). The size the stack will build is therefore governed by the interface MTU, and that MTU is remotely settable: handle_ra_input() in subsys/net/ip/ipv6_nbr.c honours the MTU option of any Router Advertisement with a value up to 0xffff, gated only by the standard hop-limit-255 and link-local-source checks. An unauthenticated attacker on the same link can raise the MTU and then have the device emit a single frame of several kilobytes, for example as a TCP segment from any service that returns more than ~1.5 KB or as an oversized UDP datagram.

The result is an out-of-bounds write into .bss immediately after tx_buf, with the overrun length and much of its content derived from the transmitted frame. Consequences range from corruption of adjacent kernel data and a crash to potential control-flow influence where the clobbered globals hold pointers; the practical overrun size is bounded by the network buffer pool rather than by the advertised MTU. The fix rejects frames larger than NET_ETH_MAX_FRAME_SIZE with -EMSGSIZE before any TX_DATA_PORT write, so the controller FIFO is also not left holding a command word without its payload.

Technical POC Analysis

CWE-787 (out-of-bounds write), in ethtx() at drivers/ethernet/ethsmsc911x.c:474-499.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity memory corruption vulnerability in the Zephyr RTOS Ethernet driver for SMSC911x/LAN9220 chipsets allows an attacker on the same local network segment to crash or potentially hijack affected devices by sending a crafted Router Advertisement. Products using Zephyr with this driver in link-adjacent deployments-such as industrial controllers, IoT gateways, and embedded sensors-are at risk of operational disruption and possible takeover, though exploitation requires specific conditions and no public exploit code exists yet.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
driver instantiated only on ARM MPS2/MPS3/MPS4 dev/emulation boards, not production fleets
Social Media
2
Sightings
Data Quality
5 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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

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.

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