Skip to main content

Zephyr RTOS CVE-2026-16514

| EUVDEUVD-2026-82948 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-18 zephyr
4.3
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Gain layer-2 adjacency to target segment
  2. Delivery
    Craft Announce frame (tlv.len=0, steps_removed=254)
  3. Exploit
    Send to gPTP link-local multicast
  4. Execution
    Pass length check, enter qualify loop
  5. Persist
    Over-read ~2 KB past network buffer
  6. Impact
    RX thread faults, networking DoS

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

Requires the target to be built with the opt-in, experimental CONFIG_NET_GPTP option (IEEE 802.1AS/gPTP, used in TSN/AVB deployments) - default Zephyr builds are NOT vulnerable. The attacker must have layer-2 (same Ethernet segment) adjacency, because gPTP Announce frames are sent to a non-routed link-local multicast address; remote/internet exploitation is not possible. No authentication or user interaction is needed (PR:N/UI:N) once those conditions hold: a single crafted Announce frame with tlv.len=0 and steps_removed=254 triggers the over-read. A further practical limiter on the DoS is that the fault is not guaranteed - it only crashes the RX thread when the ~2 KB over-read crosses a buffer-pool boundary into unmapped or MPU-protected memory.

Impact

All signals converge on a genuinely low-to-moderate priority issue, not a high-severity emergency. The vendor CVSS of 4.3 (AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) is internally consistent with the description: the attack vector is Adjacent (AV:A), because gPTP Announce frames go to a link-local multicast address and are not routed, so the attacker needs layer-2 adjacency to the target segment - this is the single largest limiting factor and correctly rules out remote/internet exploitation. There is no EPSS score, no CISA KEV listing, and no public exploit provided, so exploitation status is 'no public exploit identified at time of analysis.' No SSVC decision data was supplied. The CWE-125 out-of-bounds read maps to A:L only (C:N/I:N) because, as the description explicitly states, the over-read bytes are consumed solely as a memcmp() operand and are never returned to the attacker - so despite the 'Information Disclosure' tag, there is no meaningful confidentiality impact. The realistic worst case is that the ~2 KB over-read crosses a network-buffer-pool boundary into unmapped/MPU-protected memory and faults the RX thread (denial of service). Crucially, exploitation is gated on the target being built with the opt-in, experimental CONFIG_NET_GPTP (TSN/AVB use cases), which sharply narrows the exposed population. Net: a real but low-urgency, defense-worthy bug for the specific embedded fleets that enable gPTP, not a widespread priority. Patch is confirmed available (commit a2c882d, advisory GHSA-mgxg-89rr-6855).

Exploit ScenarioDerived

An attacker with layer-2 access to the same Ethernet segment as a Zephyr device built with CONFIG_NET_GPTP crafts a single IEEE 802.1AS Announce frame with tlv.len=0 and steps_removed=254, sends it to the gPTP link-local multicast address, and it passes GPTP_ANNOUNCE_CHECK_LEN() while carrying no path-trace entries. The reception path performs no authentication and the qualify loop reads 255 eight-byte entries (~2 KB) past the network buffer; when the over-read crosses into unmapped or MPU-protected memory the networking RX thread faults, causing denial of service. No public exploit code was provided, but the description contains the exact triggering field values.

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 – Sep 18, 2026

An out-of-bounds read in Zephyr RTOS's gPTP (IEEE 802.1AS) announce-qualification routine lets an unauthenticated attacker with layer-2 adjacency to a vulnerable device send a single crafted Announce frame that drives the stack about 2 KB past the end of the received network buffer, potentially faulting the networking RX thread and causing a denial of service. The flaw affects only builds that enable the opt-in, experimental CONFIG_NET_GPTP option used in TSN/AVB deployments (Zephyr 1.13.0 up to before 4.4.2 per EUVD); default configurations are not vulnerable, and because gPTP frames go to a non-routed link-local multicast address, internet or routed exploitation is not possible. The impact is bounded by the assessed CVSS 3.1 vector AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, and no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: commit a2c882db7a57cf08a06b4d27bead22b07a9c3c61, with the fixed release corresponding to Zephyr 4.4.2 and later per the EUVD affected range (1.13.0 < 4.4.2); apply the commit or upgrade to a release containing it. The patch computes the true Path Trace entry count as tlv.len / GPTP_CLOCK_ID_LEN and rejects the Announce whenever steps_removed + 1 exceeds that count, so the loop can never run past the data the existing packet-length check already proved present; note the fix as written requires a non-trivial tlv.len for the announce to be accepted, so validate it against your interoperability requirements. If the upgrade cannot be applied immediately, the most effective compensating control is to build without CONFIG_NET_GPTP - this removes the vulnerable code entirely, but disables IEEE 802.1AS/gPTP time synchronisation and will break TSN/AVB operation, so it is only viable where that feature is not required. Where gPTP must stay enabled, restrict the attack surface at layer 2, since gPTP Announce frames are link-local multicast and cannot be filtered upstream: apply switch port security / MAC and multicast filtering for the gPTP multicast destination (01:80:C2:00:00:0E and the non-forwardable 802.1AS control addresses), segment the TSN domain so only trusted nodes share the broadcast domain, or use 802.1X/MACsec-style port authentication if the hardware supports it - the trade-off is that any such filtering or segmentation can disrupt legitimate time-sync peering on the segment. There is no input-sanitising configuration knob that mitigates this without patching, and no vendor-released workaround beyond the code fix. See the advisory at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mgxg-89rr-6855 for vendor guidance.

Affected VersionsENISA

Zephyr 1.13.0 <4.4.2

Affected Packages

euvd zephyr fix: 4.4.2

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 issue is a classic CWE-125 out-of-bounds read in Zephyr's gPTP management/interval layer. IEEE 802.1AS Announce messages carry a Path Trace TLV (struct gptp_path_trace_tlv) whose final member, path_sequence, is a flexible array of 8-byte clock identities; the TLV header's tlv.len field states how many bytes of path_sequence the packet actually carries, while the wire field steps_removed is a separate 16-bit hop counter. In gptp_mi_qualify_announce() (subsys/net/l2/ethernet/gptp/gptp_mi.c), the loop bound was derived solely from the attacker-controlled steps_removed (accepted up to 254) instead of from tlv.len / GPTP_CLOCK_ID_LEN, and because GPTP_ANNOUNCE() returns a raw pointer into the received packet buffer, the memcmp() against the local clock identity walks 255 entries (roughly 2 KB) past the frame. The stack's only length validation, GPTP_ANNOUNCE_CHECK_LEN(), requires the received payload to be exactly 68 + tlv.len bytes, so it does not constrain the loop at all: it actually guarantees the referenced data is absent when tlv.len is small. The bytes read are used only as a memcmp() operand and are never returned to the sender, so the Information Disclosure tag overstates what is attainable - the real risk is that the over-read crosses a network buffer pool boundary into unmapped or MPU-protected memory and faults the RX thread. Affected artifacts map to CPE cpe:2.3:a:zephyrproject:zephyr:*:*:*:*:*:*:*:*, and the code path is reachable via net_gptp_recv() → gptp_handle_msg() → gptp_mi_qualify_announce(), which performs no authentication.

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

Adjacent-only (link-local multicast, non-routed) unauthenticated single frame; no confidentiality since bytes feed memcmp only; availability limited to a conditional RX-thread fault.

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

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

gptp_mi_qualify_announce() in subsys/net/l2/ethernet/gptp/gptp_mi.c walks the Path Trace TLV of a received IEEE 802.1AS Announce message, comparing each clock identity against the local one. The loop bound was taken solely from the attacker-controlled wire field announce->steps_removed (accepted up to 254), never from announce->tlv.len, which is the field that states how many identities the TLV actually carries. Because path_sequence is the flexible member of the wire TLV (struct gptp_path_trace_tlv) and GPTP_ANNOUNCE() yields a raw pointer into the received packet buffer, the memcmp() inside the loop can address memory well past the end of the received frame.

The stack's only length validation, GPTP_ANNOUNCE_CHECK_LEN(), requires the received gPTP payload to be exactly 68 + tlv.len bytes - so it does not constrain the loop, it guarantees the data is absent. An unauthenticated attacker on the same Ethernet segment can send a single Announce frame declaring tlv.len = 0 with steps_removed = 254; the frame passes the length check and reception path (net_gptp_recv() → gptp_handle_msg() → gptp_mi_qualify_announce()), which performs no authentication, and the loop then reads 255 entries of 8 bytes each - about 2 KB - beyond the end of the network buffer.

The impact is an out-of-bounds read. The bytes read are only used as a memcmp() operand and are never returned to the attacker, so there is no meaningful information disclosure; the practical risk is that the overread crosses a network buffer pool boundary into unmapped or MPU-protected memory and faults the networking RX thread, causing a denial of service. Exposure is limited to builds that enable the opt-in, experimental CONFIG_NET_GPTP (TSN/AVB deployments) and to attackers with layer-2 adjacency, since gPTP frames are sent to a link-local multicast address and are not routed.

The fix computes the true entry count as tlv.len / GPTP_CLOCK_ID_LEN and rejects the announce when steps_removed + 1 exceeds it, so the loop can no longer run past the data the packet-length check proved present.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
Vulnerable only in opt-in experimental CONFIG_NET_GPTP builds, niche TSN/AVB deployments
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.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

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

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