Skip to main content

Zephyr RTOS EUVDEUVD-2026-82947

| CVE-2026-16512 LOW
Out-of-bounds Read (CWE-125)
2026-09-18 zephyr
3.1
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Gain same-link adjacent access to gPTP interface
  2. Delivery
    Craft <34-byte 0x88F7 frame to PTP multicast
  3. Exploit
    Send over link permitting undersized frames
  4. Execution
    Header dereferenced past received data
  5. Persist
    Stale/OOB bytes parsed into gPTP state
  6. Impact
    Leaked contents transmitted in outgoing gPTP messages

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: (1) an interface configured as a gPTP port with CONFIG_NET_GPTP enabled; (2) an attacker with adjacent (same-link) access sending an Ethernet frame with ethertype 0x88F7 to the PTP multicast address; (3) a link capable of delivering sub-minimum frames with fewer than 34 bytes of payload - e.g. the native_sim TAP driver (drivers/ethernet/eth_native_tap.c) or a MAC configured to accept undersized frames, since conformant Ethernet pads to 60 bytes. Impact is further gated by allocator choice: the DEFAULT CONFIG_NET_BUF_FIXED_DATA_SIZE (128-byte fragments) only leaks stale recycled buffer data within the fragment, while a genuine out-of-bounds read requires the EXPERIMENTAL CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator. No authentication or user interaction is required (PR:N/UI:N), but the undersized-frame link requirement and adjacent-only vector are the primary limiters on realistic exploitation.

Impact

This is a genuinely low-priority issue despite being a memory-safety flaw, and the signals are internally consistent. The vendor CVSS3.1 vector (AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N = 3.1 Low) matches the description: exploitation requires an adjacent (same-link) attacker, has high attack complexity, and yields only limited confidentiality impact with no integrity or availability effect. No EPSS score, no CISA KEV listing, and no public exploit code were provided - so this is 'no public exploit identified at time of analysis.' The absence of EPSS/KEV is expected for a freshly-disclosed, low-severity embedded RTOS bug and should not be read as suppressed risk. Two conflicting-severity nuances are worth flagging for defenders: (1) under the DEFAULT allocator (CONFIG_NET_BUF_FIXED_DATA_SIZE, 128-byte fragments) the over-reads stay INSIDE the allocated fragment and only leak stale recycled buffer contents - not a true out-of-bounds read; a genuine OOB read only occurs under the EXPERIMENTAL CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator. (2) The bug requires delivery of sub-minimum (<34-byte payload) Ethernet frames, which conformant hardware pads to 60 bytes, so real exploitation depends on a permissive link such as the native_sim TAP driver or a MAC configured to accept undersized frames - a strong practical limiter. Net: a real but low-severity information-disclosure weakness, correctly rated, not a priority for most deployments.

Exploit ScenarioDerived

An unauthenticated attacker on the same Ethernet segment as a Zephyr device running a gPTP port (CONFIG_NET_GPTP enabled) sends a truncated frame - ethertype 0x88F7 to the PTP multicast address - carrying fewer than 34 bytes of payload, over a link that permits undersized frames. The device dereferences the gPTP header past the received data, retains the short packet, and later parses stale buffer contents (or, under the variable-size allocator, out-of-bounds heap memory) into gPTP state that is subsequently transmitted, disclosing leaked bytes. No public exploit code is identified, and the required sub-minimum-frame link condition plus adjacent access make this hard to achieve in practice.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 the Zephyr RTOS gPTP (IEEE 802.1AS) Ethernet layer lets an attacker on the same link crash-free but silently expose memory contents: a truncated Ethernet frame with ethertype 0x88F7 and fewer than 34 bytes of payload is accepted by gptp_handle_msg(), which dereferences a gPTP header pointer that extends past the received data and then retains the short packet for later state-machine parsing. Affected are Zephyr releases from 1.13.0 up to (but not including) 4.4.2 built with CONFIG_NET_GPTP on an interface configured as a gPTP port; no authentication or user interaction is required (PR:N/UI:N), though exploitation is limited by the adjacent-only vector and the requirement for a link that can deliver sub-minimum frames (for example the native_sim TAP driver or a MAC that accepts undersized frames). The impact is read-only and low (CVSS 3.1 base 3.1, C:L/I:N/A:N): under the default fixed-size buffer allocator only stale recycled buffer contents within the 128-byte fragment are disclosed, while a genuine out-of-bounds read requires the experimental CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator. No public exploit code was identified at time of analysis and the issue is not listed in CISA KEV; an upstream fix commit and vendor advisory are available.

RemediationAI

Vendor-released patch: apply upstream commit 84eaf32c9301e911ad038a057f447a7836a2a2f8 (which adds a minimum-length check for struct gptp_hdr before the gPTP header is dereferenced) or upgrade to the Zephyr release that closes the "<4.4.2" affected range; consult the vendor advisory at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-89r6-q468-45xq for the officially patched version and backport guidance. Where an upgrade is not immediately possible, the most effective compensating control is to build without CONFIG_NET_GPTP and not configure the interface as a gPTP port, which removes the vulnerable parser entirely at the cost of losing IEEE 802.1AS time synchronization; if gPTP is required, avoid the experimental CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator so that short packets are contained within fixed 128-byte fragments (reducing, but not eliminating, the disclosure to stale recycled buffer contents) and enforce minimum-frame-length checking on adjacent infrastructure, since switch ports that drop or pad sub-60-byte frames and MAC/driver configurations that reject undersized frames prevent the malformed packet from ever reaching gptp_handle_msg() - this is particularly relevant for native_sim TAP-based setups, where the TAP driver forwards whatever length the host supplies. None of these workarounds block the adjacent attacker's access to the PTP multicast address, so patching remains the only complete fix.

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 flaw lives in Zephyr's gPTP subsystem (subsys/net/l2/ethernet/gptp/gptp.c) and is a classic CWE-125 out-of-bounds read caused by a header accessor that deliberately does not validate length. gptp_get_hdr(), reached through the GPTP_HDR() macro, simply returns pkt->frags->data without failing for a short buffer and delegates all bounds checking to its caller; gptp_handle_msg() therefore switched on hdr->message_type before confirming the received frame carried at least sizeof(struct gptp_hdr) (34) bytes. The per-message-type guards do not compensate because GPTP_VALID_LEN() reduces to a check of len > 60 after the Ethernet header has been pulled, which is false for every fixed-size gPTP message, so GPTP_CHECK_LEN() never rejects a truncated SYNC, FOLLOWUP, PDELAY_RESP or SIGNALING message. The undersized packet is then retained via net_pkt_ref() into rcvd_sync_ptr, rcvd_follow_up_ptr, rcvd_pdelay_resp_ptr or rcvd_announce_ptr, and the media-dependent and media-independent state machines in gptp_md.c and gptp_mi.c later read tens of additional bytes and copy data such as the announce priority vector and hdr->port_id into state that is subsequently transmitted. What those reads disclose depends on the net_buf allocator: under the default CONFIG_NET_BUF_FIXED_DATA_SIZE (128-byte fragments) the accesses stay inside the allocated fragment and leak stale recycled buffer contents, whereas under the experimental CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator, where fragments are heap-allocated at the exact frame length, they are true out-of-bounds reads. There is no write primitive and no availability impact. The upstream fix adds an explicit GPTP_PACKET_LEN(pkt) < sizeof(struct gptp_hdr) guard at the top of gptp_handle_critical_msg(), rejecting short frames with a debug log before any header dereference.

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

Adjacent same-link attacker (AV:A); requires a link delivering sub-minimum frames making it AC:H; unauthenticated (PR:N); limited info leak (C:L) with no write or availability impact (I:N/A:N).

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:A/AC:H/AT:P/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
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionCVE.org

gptp_handle_msg() in subsys/net/l2/ethernet/gptp/gptp.c dereferenced the gPTP header returned by GPTP_HDR() and switched on hdr->message_type without first checking that the received frame carries at least sizeof(struct gptp_hdr) (34) bytes of payload. The header accessor gptp_get_hdr() deliberately never fails for a short buffer - it returns pkt->frags->data and leaves validation to its callers - so a truncated frame produced a header pointer covering memory beyond the received data. The per-message-type checks that follow do not compensate: GPTP_VALID_LEN() reduces to len > 60 once the Ethernet header has been pulled, which is false for every fixed-size gPTP message, so GPTP_CHECK_LEN() never rejects a truncated SYNC, FOLLOWUP, PDELAY_RESP or SIGNALING message.

The defect is reached by an unauthenticated peer on the same link sending an Ethernet frame with ethertype 0x88F7 to the PTP multicast address on an interface configured as a gPTP port, with CONFIG_NET_GPTP enabled. Because conformant Ethernet pads frames to 60 bytes, a payload shorter than 34 bytes generally requires a link that can deliver sub-minimum frames - for example the native_sim TAP driver (drivers/ethernet/eth_native_tap.c), which forwards whatever length the host device supplies, or a MAC configured to accept undersized frames.

The short packet is retained (net_pkt_ref() into rcvd_sync_ptr, rcvd_follow_up_ptr, rcvd_pdelay_resp_ptr or rcvd_announce_ptr) and later parsed by the media-dependent and media-independent state machines in subsys/net/l2/ethernet/gptp/gptp_md.c and subsys/net/l2/ethernet/gptp/gptp_mi.c, which read tens of further bytes and copy some of them (the announce priority vector, hdr->port_id) into state that is subsequently transmitted. Under the default fixed-size buffer allocator (CONFIG_NET_BUF_FIXED_DATA_SIZE, 128-byte fragments) the accesses stay inside the allocated fragment and disclose stale recycled buffer contents; under the experimental CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator, where fragments are heap-allocated at the exact frame length, they are genuine out-of-bounds reads. There is no write and no availability impact.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
Zephyr is a widely-used embedded RTOS, but gPTP port config is niche
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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