Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain Layer 2 or adjacent network access
-
DeliverySend crafted PTP_MSG_MANAGEMENT with log_announce_interval set to sufficiently negative value (e.g., -127)
-
ExploitValue stored in port data set without bounds validation
-
ExecutionSend PTP_MSG_ANNOUNCE to trigger port_timer_set_timeout_random
-
PersistUndefined behavior: 64-bit integer shifted beyond width
-
ImpactDevice crash (illegal instruction trap) or resource starvation loop
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires the attacker to be present on an adjacent Layer 2 or directly routable network segment shared with the target device (AV:A per CVSS vector) - internet-remote exploitation is not possible without additional routing or tunneling infrastructure. The Zephyr PTP subsystem must be compiled into the firmware image and actively running on the target device; deployments that do not use PTP are not affected. The attack requires a two-step message sequence: first a PTP_MSG_MANAGEMENT message to inject the malicious log_announce_interval value, then a PTP_MSG_ANNOUNCE message to trigger the vulnerable timer computation. Authentication is not required (PR:N per CVSS vector). The SSVC automatable rating of 'no' reflects that this two-step stateful interaction prevents trivial spray-and-pray exploitation. Crash behavior versus silent starvation outcome depends on the target CPU architecture and compiler, limiting predictable exploitation across heterogeneous fleets. |
| Impact | The CVSS 3.1 base score of 6.5 (Medium) with vector AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H accurately reflects a network-adjacent, unauthenticated, low-complexity availability-only impact. The adjacent-network requirement (AV:A) meaningfully constrains exploitability compared to internet-facing vulnerabilities: the attacker must share a Layer 2 broadcast domain or directly routable segment with the target. EPSS at 0.05% (17th percentile) is consistent with very low observed exploitation activity. SSVC signals reinforce this: Exploitation is 'none', Automatable is 'no' (the attack requires a two-message sequence with a specific intervening state transition), and Technical Impact is 'partial' (availability only, no code execution or data exposure). This vulnerability is not in the CISA KEV catalog. Combined, these signals characterize the risk as moderate-priority for embedded deployments where PTP is active and network segments are shared with untrusted devices (e.g., factory floors, shared IoT LANs), but low-priority for air-gapped or PTP-disabled deployments. The deterministic crash path on certain compiler/architecture combinations elevates operational risk for high-availability embedded targets despite the medium CVSS score. |
| Exploit ScenarioDerived | An attacker positioned on the same local network segment as a Zephyr-based embedded device - such as a shared industrial Ethernet network or IoT subnet - sends a crafted PTP_MSG_MANAGEMENT frame specifying a log_announce_interval value of -127. The device stores this unvalidated value in its port data set. When the attacker subsequently sends a PTP_MSG_ANNOUNCE message, the device's timer function computes NSEC_PER_SEC >> 127, invoking undefined behavior; on architectures where the compiler emits an illegal instruction trap for this condition, the device crashes immediately, causing a denial of service. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Zephyr RTOS versions up to and including 4.3 expose a denial-of-service condition in the PTP (Precision Time Protocol) subsystem through improper validation of the log_announce_interval field. An unauthenticated attacker on an adjacent network can crash affected devices or induce resource starvation loops by sending a two-stage sequence of malformed PTP messages that provokes undefined behavior via an out-of-bounds bitwise shift on a 64-bit integer. No public exploit code has been identified at time of analysis, and EPSS scoring of 0.05% (17th percentile) combined with SSVC exploitation status of 'none' indicates low observed threat activity, though the deterministic crash path on certain architectures warrants patch prioritization on embedded IoT and industrial control deployments.
RemediationAI
The primary remediation is to apply the fix documented in the Zephyr Project security advisory at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3v98-458v-388r. A specific patched release version is not independently confirmed from the input data provided; operators should consult the advisory directly to identify the minimum fixed version and apply it. The upstream fix is expected to introduce bounds validation on log_announce_interval before it is used as a shift operand, rejecting values that would produce a shift of 64 or more bits. If patching is not immediately feasible, compensating controls include: disabling the PTP subsystem entirely in the Zephyr build configuration if time synchronization via PTP is not required (this eliminates the attack surface with no functional impact to non-PTP workloads); restricting Layer 2 access to PTP-enabled devices by placing them on isolated VLANs or segments with strict MAC-level ACLs to prevent untrusted peers from sending PTP management messages; and applying ingress filtering on network infrastructure to block PTP management message types (UDP port 320 / Ethernet ethertype 0x88F7) from untrusted sources. Note that VLAN isolation reduces but does not eliminate risk if the attacker has already compromised an adjacent host.
Affected VersionsENISA
Affected Packages
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 RTOS (cpe:2.3:a:zephyrproject-rtos:zephyr:*:*:*:*:*:*:*:*) is a small-footprint real-time operating system widely deployed in IoT, industrial, and embedded systems. Its PTP subsystem implements IEEE 1588 Precision Time Protocol for clock synchronization over local networks. The root cause is classified as CWE-20 (Improper Input Validation): the PTP stack accepts a signed integer log_announce_interval from a PTP_MSG_MANAGEMENT message and stores it in the port data set without bounds checking. The value is subsequently used as a negated right-shift operand in the expression NSEC_PER_SEC >> -log_seconds within port_timer_set_timeout_random. In C, shifting a 64-bit integer by an amount greater than or equal to 64 bits (or by a negative amount) is undefined behavior per the C standard. On architectures where compilers translate this to an illegal instruction trap, the result is an immediate system crash. On others, the shift silently produces zero, causing the timeout to evaluate to zero and triggering resource starvation through tight retry or polling loops.
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
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (zephyr) · only source for this CVE.
CVSS VectorVendor: zephyr
Lifecycle Timeline
2DescriptionCVE.org
A bitwise shift vulnerability in Zephyr's PTP subsystem allows a remote attacker to cause undefined behavior and potential system crashes. An attacker sends a crafted PTP_MSG_MANAGEMENT message to set an unvalidated negative log_announce_interval value in the port's data set. When a subsequent PTP_MSG_ANNOUNCE message is processed, port_timer_set_timeout_random computes a timeout as NSEC_PER_SEC >> -log_seconds; if the attacker-supplied value is sufficiently negative (e.g., -127), the shift amount exceeds the 64-bit integer width, triggering undefined behavior in C. This can cause a system crash via a compiler-generated illegal instruction trap on some architectures, or produce an erroneous zero timeout leading to resource starvation loops or other logical errors.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-31413
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB