Skip to main content

Zephyr RTOS CVE-2026-10665

| EUVDEUVD-2026-43242 HIGH
Out-of-bounds Write (CWE-787)
2026-07-12 zephyr
7.4
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid WireGuard receiver session index
  2. Delivery
    Craft oversized transport-data UDP datagram
  3. Exploit
    data_len passed as both capacity and length
  4. Execution
    memcpy writes past pool buffer pre-auth
  5. Impact
    Remote memory corruption and device denial of service

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 the Zephyr WireGuard subsystem to be enabled and an established session so the attacker possesses a valid receiver session index; a valid Poly1305 authenticator is NOT required because the overflow occurs before authentication, so a malicious/compromised peer or an on-path attacker driving that session suffices. The out-of-bounds write only occurs when the inbound data_len exceeds CONFIG_WIREGUARD_BUF_LEN, which arises specifically when CONFIG_WIREGUARD_BUF_LEN is lowered below the link MTU, on links whose MTU is larger than the buffer size, or via reassembled IPv4/IPv6 fragments that together exceed the buffer. Limiting factors: this is not exploitable against a default configuration where the buffer is sized to the MTU and fragment reassembly does not produce oversized payloads, the WireGuard subsystem must be compiled in and configured, and the attacker must already hold a session index - all of which underlie the AC:H rating despite PR:N.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H, base 7.4) is internally consistent with the description: network reachable and unauthenticated (PR:N, since only a session index is needed pre-authentication), but high complexity (AC:H) because the overflow only triggers under specific size conditions - CONFIG_WIREGUARD_BUF_LEN configured below the link MTU, links whose MTU exceeds the buffer, or reassembled IP fragments that exceed it. No EPSS score, KEV entry, POC, or SSVC decision data was provided, so exploitation-probability and automatability signals are absent rather than low; this should be read as 'unknown', not 'benign'. The realistic, confirmed impact is memory corruption leading to reliable DoS on an embedded device; the tags and description leave open the possibility of more than DoS, but code execution is not demonstrated. Net: a genuine, patch-worthy remote memory-corruption bug whose real-world priority is tempered by the non-default size preconditions and the requirement that the WireGuard subsystem be enabled with an established session - verify your CONFIG_WIREGUARD_BUF_LEN versus link MTU to gauge exposure.

Exploit ScenarioDerived

A compromised or malicious WireGuard peer that shares an established session with a Zephyr device (or an on-path attacker able to inject into that session) sends a crafted transport-data UDP datagram whose length exceeds CONFIG_WIREGUARD_BUF_LEN. Because the vulnerable memcpy runs before the Poly1305 tag is verified, the attacker needs only a valid receiver session index - not a valid authenticator - to overflow the pool buffer and crash or corrupt the device. No public POC is identified at time of analysis, and the high attack complexity means the datagram must satisfy the specific size/fragmentation preconditions.

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 – Jul 12, 2026

Out-of-bounds write in the WireGuard subsystem of Zephyr RTOS 4.4.0 lets a malicious or compromised WireGuard peer (or an on-path attacker driving an established session) corrupt memory by sending an oversized transport-data datagram. Because the flawed copy occurs before the Poly1305 authentication check, exploitation needs only a valid receiver session index rather than a valid authenticator, and reliably yields at least a remote denial of service on the target device. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV; the Zephyr project has published advisory GHSA-3wqm-wgx2-9367 and an upstream fix.

RemediationAI

Apply the upstream fix from commit 6d8bb28dc9064e05e52b5a00b2998ecc663e38cb (https://github.com/zephyrproject-rtos/zephyr/commit/6d8bb28dc9064e05e52b5a00b2998ecc663e38cb), which adds an explicit data_len > CONFIG_WIREGUARD_BUF_LEN rejection and corrects the linearize call to use net_buf_max_len(buf) as the destination capacity; the corresponding advisory is GHSA-3wqm-wgx2-9367. Upstream fix is available as a commit; a specific released/tagged patched version is not independently confirmed from the input, so rebuild firmware from a tree that includes this commit. If you cannot rebuild immediately, compensating controls include ensuring CONFIG_WIREGUARD_BUF_LEN is set at least as large as the link MTU so a single unfragmented datagram cannot exceed the buffer (trade-off: higher static memory use per pool buffer on constrained devices), disabling IPv4/IPv6 fragment reassembly on the WireGuard-facing interface to remove the oversized-reassembly path (trade-off: legitimate large fragmented traffic will be dropped), and disabling the WireGuard subsystem entirely if it is not in use (trade-off: loss of VPN functionality). Restricting which peers can establish sessions and network-segmenting the device also reduces the attacker set.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 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 is a widely-used open-source real-time operating system for resource-constrained embedded and IoT devices. The defect lives in its optional WireGuard VPN subsystem (subsys/net/lib/wireguard), specifically wg_process_data_message() in wg_crypto.c, which linearizes a fragmented inbound network buffer into a fixed pool buffer of CONFIG_WIREGUARD_BUF_LEN bytes prior to ChaCha20-Poly1305 decryption. The root cause (CWE-787, out-of-bounds write) is that net_buf_linearize() is called with the attacker-influenced data_len passed as BOTH the destination capacity and the copy length, which defeats the function's internal len = min(len, dst_len) safety clamp; the underlying memcpy then writes past the pool buffer. data_len originates from the received UDP datagram length and is only lower-bounded (never upper-bounded) by wg_ctrl_recv(). The affected component is identified by CPE cpe:2.3:a:zephyrproject:zephyr, and the fix both adds an explicit data_len > CONFIG_WIREGUARD_BUF_LEN rejection and passes net_buf_max_len(buf) as the true destination capacity.

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

Network-reachable via UDP (AV:N); only a session index, not an authenticator, is needed pre-auth (PR:N); overflow needs non-default buffer/MTU or fragment conditions (AC:H); memory corruption and DoS give I:H/A:H with no disclosure (C:N).

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

DescriptionCVE.org

In Zephyr's WireGuard subsystem (subsys/net/lib/wireguard), wg_process_data_message() in wg_crypto.c linearizes an inbound transport-data payload into a fixed pool buffer of CONFIG_WIREGUARD_BUF_LEN bytes before decryption. The call net_buf_linearize(buf->data, data_len, pkt->buffer, ..., data_len) passed the attacker-derived data_len as both the destination capacity and the copy length, defeating the function's internal len = min(len, dst_len) bound. data_len is derived from the received UDP datagram length and is only lower-bounded by wg_ctrl_recv() (no upper bound). When data_len exceeds CONFIG_WIREGUARD_BUF_LEN - e.g. when the buffer length is lowered below the link MTU, on links with MTU above the buffer size, or via reassembled IPv4/IPv6 fragments that exceed it - the underlying memcpy writes past the end of the pool buffer, an out-of-bounds write (CWE-787). The overflow occurs before the Poly1305 authentication check, so it requires only a valid receiver session index rather than a valid authenticator, and is reachable by a malicious or compromised peer (or an on-path attacker driving an established session) over the network, yielding remote memory corruption and at minimum a reliable denial of service. The defect was present in the WireGuard implementation shipped in Zephyr 4.4.0. The fix adds an explicit data_len > CONFIG_WIREGUARD_BUF_LEN rejection and corrects the linearize call to pass net_buf_max_len(buf) as the destination capacity.

Executive ViewAI

Why It Matters

Zephyr RTOS 4.4.0 is vulnerable to remote denial-of-service attacks that can disable IoT devices and embedded systems in your infrastructure. An attacker with network access to WireGuard connections can crash affected devices, potentially impacting production systems and operational reliability. Patches are available and should be deployed across all affected systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
optional WireGuard subsystem, newly shipped in embedded Zephyr 4.4.0
Social Media
4
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

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