Skip to main content

Zephyr PTP CVE-2026-87042

| EUVDEUVD-2026-123036 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-11-10 vulnerabilities@zephyrproject.org
6.5
CVSS 3.1 · Vendor: zephyrproject
View

Attack ChainAIDerived

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

  1. Access
    Gain on-link access to PTP segment
  2. Delivery
    Observe victim Delay_Req (port id, sequence id)
  3. Exploit
    Inject crafted Delay_Resp with out-of-range logMessageInterval
  4. Execution
    Device arms Delay_Req timer with zero timeout
  5. Persist
    Message slab exhausted, PTP thread blocks on K_FOREVER
  6. Impact
    Time synchronization stalled / multicast flood

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the target Zephyr device runs the PTP subsystem with a port operating as a time receiver using the end-to-end (E2E) delay mechanism; the handler only accepts the malicious Delay_Resp when it matches the victim's own advertised port identity and a pending Delay_Req sequence id (both of which the victim itself broadcasts, so the attacker can mirror them). The attacker must be on the same link (adjacent network: IPv4 multicast 224.0.1.129, IPv6 multicast, or raw IEEE 802.3) - there is no authentication and no parent/source check. The malicious value must be an out-of-range logMessageInterval (below roughly -30, magnitude >=64, or the 0x7F 'not applicable' encoding). Limiting factors: exploitation is confined to the local segment (no routing across L3), the PTP feature and E2E time-receiver role must be enabled (not a default for most Zephyr builds), and affected versions are >=3.7.0,<4.3.2 and >=4.4.0,<4.5.0; the complete fix is upgrading to 4.3.2 or 4.5.0.

Impact

This is a genuine but bounded availability issue, not an inflated high-CVSS score. The CVSS 3.1 vector (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 6.5) is internally consistent with the description: exploitation requires only adjacent-network (same-link) position, no authentication (PR:N), no user interaction, and yields availability-only impact (C:N/I:N) - there is explicitly no memory corruption or data disclosure. The vuln.today decision label is 'this_month' (a schedule-and-patch priority, not act_now/emergency), which aligns with the absence of a CISA KEV listing and the lack of any confirmed public exploit. No EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the input. The signals are mutually consistent rather than conflicting: moderate severity, on-link-only reach, availability-only impact, and no evidence of active exploitation. The practical risk is concentrated in embedded deployments that actually enable the PTP subsystem and run a port as an end-to-end time receiver - for those, a single crafted packet can wedge time synchronization until reboot, which matters more in time-sensitive industrial/networking contexts than the 6.5 base score alone conveys.

Exploit ScenarioDerived

An attacker with a foothold on the same Ethernet segment as a Zephyr device acting as a PTP time receiver (end-to-end mechanism) injects a single crafted Delay_Resp multicast packet that echoes the victim's own port identity and pending sequence id and carries a bogus logMessageInterval (e.g. 0x7F or a value below about -30). The device adopts the value as a timer shift count, arms the Delay_Req timer with a zero timeout, and the cooperative PTP thread drains its 10-buffer message slab within milliseconds, then blocks forever on allocation - stalling time synchronization until reboot, or sustaining a multicast Delay_Req flood. No public exploit identified at time of analysis; the mechanism is documented in the Zephyr GHSA advisory and fix commits.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 11, 2026

An unauthenticated attacker on the same network link can permanently stall IEEE 1588 time synchronization in Zephyr's PTP subsystem (subsys/net/lib/ptp) by sending a single crafted Delay_Resp message carrying an out-of-range logMessageInterval value. Affected builds are Zephyr 3.7.0 through 4.3.1 and 4.4.0 through 4.4.x (fixed in 4.3.2 and 4.5.0) where a port operates as a time receiver using the end-to-end delay mechanism; the bogus interval is used as a shift count when arming the Delay_Req timer, driving a zero-timeout retransmit loop that exhausts the fixed PTP message slab and blocks the only thread able to free it, or alternatively produces a sustained multicast Delay_Req flood and continuous CPU load. There is no memory corruption or data disclosure - the impact is availability of the PTP subsystem and of the local segment only, and no public exploit identified at time of analysis; the vendor advisory (GHSA-cx9q-8hq3-7hpr) rates this as a bounded, adjacent-network denial of service rather than a critical defect.

RemediationAI

Vendor-released patch: upgrade to Zephyr 4.3.2 or 4.5.0, which contain both fixes - commit f6b9459f082a (PR #117351) adds range validation of logMessageInterval from Delay_Resp and treats 0x7F as "not applicable" per IEEE 1588-2019 Table 42, and commit 334bf57f416f (PR #118150) applies the same range check to Sync messages while ignoring the field for unicast Sync. The fixes are merged into main and backported to the v4.4-branch (PR #119094, #119406), v4.3-branch (PR #119093, #119405) and v3.7-branch (PR #119092, #119404) - release lines that have not yet taken those backports remain affected, so verify the specific branch rather than relying on the version string alone. Where upgrading is not immediately possible, the actionable compensating controls are to disable the PTP subsystem entirely (drop CONFIG_PTP from the build), which removes the attack surface at the cost of losing all IEEE 1588 time synchronization on the device, or, if PTP must stay enabled, avoid the time-receiver role and the end-to-end delay mechanism on segments shared with untrusted nodes (using a boundary clock or a directly attached grandmaster) - a trade-off that limits topology flexibility. Network-side, filter PTP traffic at switches/bridges so only the designated grandmaster can deliver Delay_Resp to devices (blocking the multicast group 224.0.1.129 / IPv6 PTP group / raw 802.3 PTP frames from other ports), which requires managed switching infrastructure and does not help on a flat hub-like segment. Restarting the device clears a stalled PTP thread but is only a temporary recovery, since the trigger remains one injected frame away.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0
Zephyr 3.7.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

The flaw is a resource-consumption issue (CWE-400) rooted in how the Zephyr PTP port state machine adopts a protocol field straight off the wire. In port_delay_resp_msg_process(), the logMessageInterval from a received Delay_Resp - a full-range int8_t - was assigned into port_ds.log_min_delay_req_interval with no range validation. That stored value is later supplied to port_timer_set_timeout() as a shift count on a uint64_t, so values below roughly -30 shift the computed timeout down to zero, while any magnitude of 64 or more (including the standards-defined 0x7F "not applicable" encoding from IEEE 1588-2019 Table 42) invokes an undefined shift. The trigger path is specific: the message must arrive while the port is a time receiver using the end-to-end delay mechanism and must echo the victim's own port identity and a pending Delay_Req sequence id, both of which the victim itself broadcasts, so an on-link peer can simply mirror them; the handler performs no authentication and no parent/source check, and PTP input arrives as unauthenticated link-local traffic via IPv4 multicast 224.0.1.129, IPv6 multicast, or raw IEEE 802.3. Once the timer is armed with a zero timeout, the TIME_RECEIVER branch of ptp_port_timer_event_gen() re-arms and retransmits a Delay_Req on every tick; each transmission consumes a buffer from the fixed CONFIG_PTP_MSG_POLL_SIZE slab (default 10) and holds it on port->delay_req_list for three seconds, so the slab empties within milliseconds and ptp_msg_alloc() blocks with K_FOREVER inside the single cooperative K_PRIO_COOP(1) PTP thread that is also the only thread releasing those buffers - a permanent deadlock of time synchronization until reboot. Where another thread's transmit-timestamp callback keeps recycling buffers, the same loop instead becomes a persistent multicast Delay_Req flood with continuous CPU consumption. Notably, the management-TLV setters in the same file already clamp these interval fields "to protect from undefined bitwise shift operations", showing the hazard was known but never applied to the message reception path; the companion change 334bf57f416f (#118150) closes the weaker variant in port_sync_msg_process() where log_sync_interval was adopted unchecked from Sync messages.

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 (zephyrproject) PRIMARY 6.5 MEDIUM
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

On-link unauthenticated single-packet injection with no user interaction gives AV:A/AC:L/PR:N/UI:N; impact is availability-only (PTP thread wedge / flood), so C:N/I:N/A:H.

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

Primary rating from Vendor (zephyrproject).

CVSS VectorVendor: zephyrproject

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

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 23:05 EUVD

DescriptionCVE.org

The IEEE 1588 (PTP) port implementation in subsys/net/lib/ptp/port.c adopted the logMessageInterval field of a received Delay_Resp message without any validation. port_delay_resp_msg_process() stored the raw wire value (a full-range int8_t) into port_ds.log_min_delay_req_interval, and that value is later used as a shift count by port_timer_set_timeout() when the Delay_Req timer is armed. Values below about -30 truncate the computed timeout to zero, and values with a magnitude of 64 or more perform an undefined shift of a uint64_t; the standards-defined "not applicable" encoding 0x7F fell into the latter case as well.

PTP messages are received over unauthenticated link-local traffic (UDP multicast on 224.0.1.129, IPv6 multicast, or raw IEEE 802.3), and the handler accepts a Delay_Resp from any sender as long as the port is a time receiver using the end-to-end delay mechanism and the message echoes the port identity and a pending sequence id - both of which the victim itself broadcasts in its Delay_Req. Any node on the same link can therefore inject a single crafted Delay_Resp, or simply become the time transmitter and advertise the bogus interval.

Once the delay timer is armed with a zero timeout, the cooperative PTP thread re-arms and retransmits a Delay_Req on every tick. Each transmission takes a buffer from the fixed CONFIG_PTP_MSG_POLL_SIZE message slab (default 10) and holds it on port->delay_req_list for three seconds, so the slab is emptied within milliseconds and ptp_msg_alloc() then blocks with K_FOREVER inside the only thread that frees those buffers - permanently stalling time synchronization until reboot. Where a transmit-timestamp callback on another thread keeps recycling buffers, the result is instead a sustained multicast Delay_Req flood and continuous CPU consumption. There is no memory corruption and no disclosure of data; the impact is availability of the PTP subsystem and of the local network segment.

The fix rejects intervals outside a representable range and treats 0x7F as "not applicable" as required by IEEE 1588-2019 Table 42. The equivalent unchecked adoption of logMessageInterval from Sync messages in port_sync_msg_process(), a weaker variant of the same issue, is fixed by the companion change 334bf57f416f (#118150), which applies the same range check, ignores the field for unicast Sync messages and treats 0x7F as not applicable.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
optional PTP subsystem in an embedded RTOS, niche time-receiver config
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 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· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

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