Skip to main content

Zephyr RTOS CVE-2026-5072

| EUVDEUVD-2026-31413 MEDIUM
Improper Input Validation (CWE-20)
2026-05-22 zephyr
6.5
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 or adjacent network access
  2. Delivery
    Send crafted PTP_MSG_MANAGEMENT with log_announce_interval set to sufficiently negative value (e.g., -127)
  3. Exploit
    Value stored in port data set without bounds validation
  4. Execution
    Send PTP_MSG_ANNOUNCE to trigger port_timer_set_timeout_random
  5. Persist
    Undefined behavior: 64-bit integer shifted beyond width
  6. Impact
    Device 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.

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

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

Alert me

AnalysisAIv1 – 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

Zephyr * ≤4.3

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

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

Vendor (zephyr) PRIMARY 6.5 MEDIUM
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

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

Lifecycle Timeline

2
CVSS changed
May 26, 2026 - 15:22 NVD
6.5 (None) 6.5 (MEDIUM)
CVE Published
May 22, 2026 - 07:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.1%
Top 83% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.1%
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
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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