Skip to main content

Zephyr RTOS EUVDEUVD-2026-126665

| CVE-2026-93667 MEDIUM
Function Call With Incorrect Argument Type (CWE-686)
2026-11-16 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
    Gain access to shared L2 segment
  2. Delivery
    Send 802.1Q-tagged frame for a down VLAN
  3. Exploit
    Frame resolves to down VLAN interface, reaches fall-through
  4. Execution
    Mistyped indirect call invokes ethernet_api slot as recv
  5. Persist
    Driver dereferences garbage pointer (wild read/uninitialized write)
  6. Impact
    Device crashes / memory corruption (DoS)

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Requires CONFIG_NET_VLAN enabled AND a VLAN interface configured over an Ethernet (or DSA) port with a VID AND that VLAN interface administratively down while its parent Ethernet interface is up - this precise state is what lets net_eth_get_vlan_iface() resolve the tag while virtual_recv() skips the down interface and falls through. The attacker must be on the same L2 link to inject an 802.1Q-tagged frame bearing the configured VID; no authentication, IP reachability, or user interaction is needed because the frame is consumed at L2. CONFIG_NET_STATISTICS_ETHERNET (default y) selects the get_capabilities aliasing variant versus get_config. Limiting factors: adjacent-only reach (not routable/remote), dependence on the non-default down-VLAN condition, and the VLAN feature being compiled in and configured; the dummy/any L2 path (any_recv) is a second entry point with the same preconditions.

Impact

This is a medium-severity, high-confidence-defect but config-and-adjacency-gated issue. The CVSS 3.1 vector (AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H, 5.9) is internally consistent with the mechanism described: adjacency because the malicious 802.1Q-tagged frame must land on the same L2 segment, AC:H because a specific non-default state is required (a VLAN interface configured over Ethernet but administratively down while its parent is up), PR:N/UI:N because the frame is consumed at L2 before any address or user check, and A:H with only I:L because the outcome is an uncontrolled crash / memory corruption rather than a controllable write primitive. No EPSS score and no KEV status were provided in the input, so there is no signal of active or probabilistic widespread exploitation - exploitation status here is 'no public exploit identified at time of analysis' as confirmed weaponized code, though a detailed public PoC reference (control-flow walkthrough plus example setup code, with a reliably reproduced bus fault on an STM32H755) does exist in the Zephyr GHSA advisory and is not verified as working drop-in exploit code. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a serious but non-emergency, patch-this-cycle priority. Net: this is a genuine, vendor-confirmed defect that reliably DoSes affected devices, but its real-world blast radius is bounded by the adjacent attack vector and the specific down-VLAN configuration precondition - treat it as a priority patch for Zephyr deployments that use VLAN over Ethernet/DSA, not as an internet-facing mass-exploitation risk.

Exploit ScenarioDerived

An attacker on the same L2 segment as a Zephyr device that has CONFIG_NET_VLAN enabled, a VLAN interface configured over an Ethernet/DSA port, and that VLAN interface administratively down, sends a single 802.1Q-tagged Ethernet frame carrying the configured VID (even something as benign as an MLD/NDP frame). The frame resolves to the down VLAN interface, falls through to virtual_recv()'s mistyped indirect call, and invokes an ethernet_api slot (get_config or get_capabilities) as if it were virtual_interface_api::recv, dereferencing attacker-uncontrolled garbage pointers. A public PoC reference with full control-flow analysis exists and reports a reliably reproduced bus fault, but it is not verified as a packaged working exploit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 16, 2026

Memory corruption and denial of service in the Zephyr RTOS network receive path occur when an 802.1Q-tagged Ethernet frame arrives bearing the VID of a configured VLAN interface that is administratively down, causing the Virtual L2 handler to invoke a member of struct ethernet_api through a struct virtual_interface_api pointer. Any host able to place a tagged frame on the same link can trigger it - no authentication, IP reachability or user interaction is required, because the frame is consumed at L2 before any address check - and on the reporter's STM32H755 hardware this reliably produced a bus fault. Affected ranges are 4.2.0 through 4.3.1 and 4.4.0 (fixed in 4.3.2 and 4.5.0); a public advisory walkthrough documents the exact trigger preconditions, but it is not verified as working exploit code and no public exploit was identified at time of analysis. Reach is adjacent-only and the fault depends on the non-default state of a down VLAN interface over an up parent port, which is why this scores medium rather than high, and scheduling remediation within the current month is appropriate.

RemediationAI

Vendor-released patch: Zephyr 4.3.2 and 4.5.0 - upgrade to either branch head, which carries commit 226e821d8587aaae955b9682234b0b44722c8a4e adding the net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL) check that silently drops any packet arriving with a non-Virtual-L2 interface, closing both the VLAN/Ethernet and dummy/any entry points (advisory https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5q52-q965-fwp8). Any release line that has not taken the backport remains affected. If upgrading cannot be done immediately, remove the specific trigger state on devices with CONFIG_NET_VLAN enabled: ensure VLAN interfaces are either brought up or deconfigured with net_eth_vlan_disable() rather than left administratively down while the parent Ethernet/DSA port stays up - the trade-off is lost VLAN connectivity or lost VLAN segmentation on that port. Bringing the parent interface down also removes the fall-through but severs all traffic on the port, and building without CONFIG_NET_VLAN eliminates the tagged-frame dispatch path entirely at the cost of VLAN support. Note that disabling CONFIG_NET_STATISTICS_ETHERNET only changes which mistyped function is invoked (get_capabilities vs get_config) and is not a mitigation.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0
Zephyr 4.2.0 <4.3.2

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

Zephyr's Virtual L2 layer (subsys/net/l2/virtual/virtual.c) lets a virtual interface such as a VLAN sit on top of a physical one. When ethernet_recv() in subsys/net/l2/ethernet/ethernet.c sees an 802.1Q frame it deliberately calls the Virtual L2 recv handler with the Ethernet interface itself, so the tagged packet can be dispatched across the VLAN interfaces attached to that port. virtual_recv() walks the attached virtual interfaces and skips any that are not up; when none claims the frame it falls through to a path written on the assumption that the interface is a virtual one: it reads net_if_get_device(iface)->api and treats that object as a struct virtual_interface_api, then calls api->recv(iface, pkt). For an Ethernet device, dev->api is a struct ethernet_api whose layout shares only the leading struct net_if_api, so the slot read as recv actually aliases get_config() by default, or get_capabilities() when CONFIG_NET_STATISTICS_ETHERNET is enabled (it defaults to y in subsys/net/ip/Kconfig.stats, so typical builds take that variant). The fall-through is reached because net_eth_get_vlan_iface() in subsys/net/l2/ethernet/vlan.c resolves a received tag purely from ctx->tag without checking link state, while virtual_recv() skips interfaces that are down - so an existing but administratively down VLAN interface routes the frame straight into the mistyped call. The callee receives a struct net_if * where a struct device * is expected and a struct net_pkt * where a struct net_if * is expected, with remaining parameters left as register residue: get_capabilities() implementations such as eth_nxp_enet.c dereference dev->config as a wild read through a non-pointer field of struct net_if, and get_config() implementations such as eth_sam_gmac.c write through an uninitialized struct ethernet_config * argument, while a returned capability bitmask is misread as a net_verdict. The same defective fall-through is reachable via any_recv() in subsys/net/l2/dummy/any/any.c, which passes a dummy interface whose struct dummy_api is shorter than the offset being read, yielding an out-of-bounds read of the driver API object followed by an indirect call. The root cause class is CWE-686 (function call with incorrect argument type), with the advisory also tagging CWE-688 and CWE-843; the attacker controls neither the corrupted address nor the written value, so this is undefined behaviour, crash and uncontrolled memory corruption rather than a controllable write primitive. The guard added by the fix (net_if_l2(iface) != &NET_L2_GET_NAME(VIRTUAL) leading to a silent drop) confirms the defect is a missing interface-type check, not a packet-content issue.

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

Adjacent L2 frame injection (AV:A); AC:H for the required down-VLAN-over-Ethernet config state; no auth and L2-consumed so PR:N/UI:N; crash/memory corruption without controllable write gives A:H, I:L, C:N.

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

DescriptionCVE.org

The Virtual L2 receive handler virtual_recv() in subsys/net/l2/virtual/virtual.c ends with a fall-through path meant for a virtual interface that has nothing attached below it: it takes net_if_get_device(iface)->api, treats it as a struct virtual_interface_api, and calls api->recv(iface, pkt). That handler is however also invoked with a non-virtual interface: ethernet_recv() in subsys/net/l2/ethernet/ethernet.c deliberately passes the Ethernet interface so that a tagged frame can be dispatched over the VLAN interfaces attached to it. For an Ethernet interface dev->api is a struct ethernet_api, whose layout only shares the leading struct net_if_api, so the slot read as recv is actually get_config() (default) or get_capabilities() (when CONFIG_NET_STATISTICS_ETHERNET is enabled).

The fall-through is reached whenever no attached virtual interface claims the frame - most simply when the VLAN interface owning the frame's tag exists but is administratively down, since net_eth_get_vlan_iface() resolves the tag without checking link state while virtual_recv() skips interfaces that are not up. Any host able to place an 802.1Q-tagged Ethernet frame on the same link can then trigger the mistyped indirect call; no authentication, IP reachability or user interaction is required, because the frame is consumed at L2 before any address check.

The resulting call passes a struct net_if where the driver expects a struct device and a struct net_pkt where it expects a struct net_if , with the callee's remaining parameters left as whatever the call site happens to leave in the argument registers. Driver implementations dereference these values: get_capabilities() typically reads dev->config/dev->data (a wild read through a non-pointer field of struct net_if), and get_config() implementations write through the uninitialized struct ethernet_config * argument. The practical impact is undefined behaviour in the network RX path - crashes and uncontrolled memory corruption - plus mis-handling of the packet when a capability bitmask is returned as a net_verdict. The attacker controls neither the corrupted address nor the value written, so this is a denial-of-service and memory-corruption issue rather than a controllable write primitive.

The same defective fall-through is reachable through any_recv() in subsys/net/l2/dummy/any/any.c, which passes a dummy interface whose struct dummy_api is shorter than the offset read, producing an out-of-bounds read of the driver's API object followed by an indirect call. The fix drops any packet whose interface is not a Virtual L2 interface, closing both entry points.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
widely used embedded/IoT RTOS, but VLAN-over-Ethernet config is less common
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.2%
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

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

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