Skip to main content

Zephyr RTOS CVE-2026-126957

| EUVDEUVD-2026-124154 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-12 zephyr
6.9
CVSS 4.0 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Reach device IP over network
  2. Delivery
    Craft ICMP Echo with RR/Timestamp option Ptr=0
  3. Exploit
    Underflow wraps copy length to 252
  4. Execution
    net_pkt_write reads past 40-byte stack buffer
  5. Persist
    Leaked stack/heap pointers returned in Echo Reply
  6. Impact
    Repeat to harvest memory and defeat ASLR

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

The device must be built with CONFIG_NET_IPV4_HDR_OPTIONS=y - either set explicitly, or pulled in automatically by CONFIG_NET_IPV4_IGMP=y, so any Zephyr build using IPv4 multicast is affected without explicit opt-in - and must respond to ICMP Echo Requests on a network the attacker can reach. The specific trigger is an IPv4 Record Route or Timestamp option whose attacker-controlled Pointer field is set below the RFC 791 minimum (4 for Record Route, 5 for Timestamp), which Zephyr fails to lower-bound. No authentication, user interaction, or prior access is required (PR:N/UI:N) and a single packet suffices. The limiting factor is purely the build configuration: Zephyr images without IPv4 header-options support (and not selecting IGMP) are not exploitable, which narrows the realistic exposed population below the AV:N/AC:L score alone.

Impact

Signals are internally consistent and point to a genuine but moderate-severity issue. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, base 5.3) indicates a remote, unauthenticated (PR:N), low-complexity information-disclosure flaw with only low confidentiality impact and no integrity or availability impact - matching the description of a single-packet stack memory leak (up to 213 bytes) that does not crash the device. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with a serious-but-not-critical read primitive rather than an RCE. No EPSS score and no CISA KEV status were supplied, so exploitation probability and active-exploitation status are unknown; absence of KEV is not evidence of safety but no active exploitation is claimed. A detailed vendor PoC (ICMP crafting plus ASAN trace confirming skip=252 and a leaked stack pointer) is published in the GHSA advisory, so triggering is demonstrably practical. The main thing that bounds real-world priority is the conditional attack surface (see exploitation_conditions): only Zephyr builds with CONFIG_NET_IPV4_HDR_OPTIONS (directly or via CONFIG_NET_IPV4_IGMP) that answer ICMP Echo are exposed. Net: a real priority to patch for affected embedded fleets - the leaked pointers can defeat ASLR and enable follow-on exploitation - but on raw impact it is a bounded info-disclosure read, not a widespread critical.

Exploit ScenarioDerived

A remote, unauthenticated attacker on a reachable network sends a single ICMP Echo Request to a Zephyr device, embedding an IPv4 Record Route (or Timestamp) option with the Pointer field set below the RFC 791 minimum (e.g. Ptr=0). The integer underflow causes the Echo Reply to return up to 213 bytes of adjacent stack memory - including stack and potentially heap pointers and return addresses - to the attacker. A working PoC with ASAN confirmation is published in the Zephyr GHSA advisory, and because the device does not crash the attacker can repeat the request to harvest more memory and defeat ASLR.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 12, 2026

Stack memory disclosure in Zephyr RTOS (through 4.4.0) lets a remote, unauthenticated attacker recover up to 213 bytes of kernel stack - including confirmed stack pointers and potentially heap pointers - inside an ordinary ICMP Echo Reply. The flaw sits in icmpv4_update_record_route() and icmpv4_update_time_stamp() in subsys/net/ip/icmpv4.c, which compute a copy length as ptr - ptr_offset in uint8_t arithmetic without enforcing the RFC 791 minimum Pointer value; a Pointer of 0 wraps to 252 and net_pkt_write() then reads past the 40-byte opt_data stack buffer. Exploitation requires only that the image be built with CONFIG_NET_IPV4_HDR_OPTIONS=y, which CONFIG_NET_IPV4_IGMP=y selects automatically, and that the node answer ICMP Echo Requests; no crash occurs, so the leak can be repeated. The vendor advisory publishes a detailed proof-of-concept with ASAN-confirmed output, but no confirmed working exploit code and no evidence of active exploitation were observed at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the vendor advisory records pull request 11273 on the main branch as merged, and no tagged release containing the fix could be confirmed from the supplied data, so builds tracking 4.4.0 or earlier remain vulnerable until that change is present. The fix is a single lower-bound comparison per function (reject the packet when ptr < ptr_offset, i.e. < 4 for Record Route and < 5 for Timestamp, before computing skip = ptr - ptr_offset); applying or backporting that comparison from the advisory is low-risk and has no effect on valid traffic. Where an immediate update is not possible, disable CONFIG_NET_IPV4_HDR_OPTIONS and CONFIG_NET_IPV4_IGMP in the image - this removes the vulnerable parsing entirely but also removes IPv4 multicast/IGMP functionality and any feature that depends on IPv4 header options, so multicast-dependent applications (for example IGMP-based group membership or mDNS-style discovery) must be re-evaluated. As a complementary boundary control, filter ICMP Echo Requests carrying Record Route or Timestamp options - or drop malformed option Pointers - at network ingress, accepting that this costs per-packet inspection and that it depends on the filtering device correctly parsing the same option fields the stack mis-handles. Details and the proposed patch are documented at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cvv6-5f6x-87qf.

Affected VersionsENISA

Zephyr * ≤4.4.0

Affected Packages

euvd zephyr no fix

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 affected component is Zephyr's IPv4/ICMPv4 stack (CPE cpe:2.3:a:zephyrproject-rtos:zephyr, wildcard, i.e. all released versions through 4.4.0). Per RFC 791 §3.1, the Pointer field of an IPv4 Record Route option must be at least 4 and of a Timestamp option at least 5. net_ipv4_parse_hdr_options() in ipv4.c parses attacker-supplied options into a 40-byte stack array, opt_data[NET_IPV4_HDR_OPTNS_MAX_LEN] (ipv4.c:168), and the ICMP echo-reply path copies recorded bytes out of that array. In icmpv4_update_record_route() (icmpv4.c:162, ptr_offset = 4) and icmpv4_update_time_stamp() (icmpv4.c:304, ptr_offset = 5), the copy length is computed as skip = ptr - ptr_offset in uint8_t arithmetic after only upper-bound validation (ptr >= opt_len and (ptr + addr_len) > opt_len); there is no lower-bound check. A Pointer below the RFC minimum therefore wraps - 0 - 4 = 252 - and net_pkt_write() reads that many bytes starting at opt_data + offset, running up to 213 bytes past the 40-byte buffer into adjacent stack contents (the struct net_pkt_cursor holding heap pointers, loop variables, saved registers) and echoing them back in the reply. This is a classic out-of-bounds read (CWE-125) whose root cause is an unsigned integer underflow (CWE-191) that results in information exposure (CWE-200); the advisory also records the code-level details and an ASAN report showing 'READ of size 252' past the [144,184) opt_data object. The behaviour is gated entirely by build configuration: CONFIG_NET_IPV4_HDR_OPTIONS=y enables the vulnerable option handling, and CONFIG_NET_IPV4_IGMP=y pulls it in transitively, so any Zephyr image using IPv4 multicast is in scope without an explicit opt-in.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remote single-packet trigger with no auth or interaction gives AV:N/AC:L/PR:N/UI:N; bounded leak of up to 213 bytes of stack memory is C:L with no integrity or availability impact and no scope change.

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

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Nov 12, 2026 - 03:22 NVD
5.3 (MEDIUM) 6.9 (MEDIUM)

DescriptionCVE.org

An integer underflow in Zephyr's IPv4 option handling allows a remote, unauthenticated attacker to read stack memory. When replying to an ICMP Echo Request that carries an IPv4 Record Route or Timestamp option, icmpv4_update_record_route() and icmpv4_update_time_stamp() in subsys/net/ip/icmpv4.c compute the length of the already recorded data as ptr - ptr_offset in uint8_t arithmetic. The attacker-controlled Pointer field is checked against the option length but not against the RFC 791 minimum (4 for Record Route, 5 for Timestamp), so a smaller value wraps the length to up to 252 bytes. net_pkt_write() then reads past the 40-byte opt_data stack buffer and up to 213 bytes of stack memory, which can include stack and heap pointers, are returned in the ICMP Echo Reply. A single packet triggers the leak and the device does not crash, so it can be repeated. Devices built with CONFIG_NET_IPV4_HDR_OPTIONS, which CONFIG_NET_IPV4_IGMP selects, are affected.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular embedded RTOS, but only IPv4-header-options/IGMP builds answering ICMP are affected
Social Media
1
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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