Skip to main content

Zephyr RTOS CVE-2026-12632

| EUVDEUVD-2026-61492 MEDIUM
Out-of-bounds Read (CWE-125)
2026-08-18 vulnerabilities@zephyrproject.org
6.5
CVSS 3.1 · Vendor: zephyrproject
Share

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

Adjacent-only delivery (AV:A) with no authentication (PR:N) and no reliable confidentiality or integrity impact given the build-layout-dependent corruption path.

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

3
Source Code Evidence Fetched
Aug 19, 2026 - 02:33 vuln.today
Analysis Generated
Aug 19, 2026 - 02:33 vuln.today
Patch available
Aug 18, 2026 - 22:04 EUVD

DescriptionCVE.org

Zephyr's Precision Time Protocol receive handler ptp_msg_post_recv() in subsys/net/lib/ptp/msg.c takes the 4-bit message type straight off the wire via ptp_msg_type() (msg->header.type_major_sdo_id & 0xF, range 0-15) and uses it to index the msg_size[] table. That table only defines entries up to PTP_MSG_MANAGEMENT (0xD), giving it ARRAY_SIZE == 14. Before the fix there was no upper-bound check, so the undefined types 0xE and 0xF indexed one or two int slots past the end of the array - an out-of-bounds read of adjacent read-only data.

The out-of-bounds value is then reused as a length: it gates msg_size[type] > cnt, and when it is small or negative it makes cnt - msg_size[type] a large positive budget passed to msg_tlv_post_recv(), whose TLV loop then walks the message suffix past the received bytes, performing further out-of-bounds reads and in-place byte-swap writes on memory beyond the message slab.

The defect is reached directly from the network: ptp_port_event_gen() in subsys/net/lib/ptp/port.c reads a PTP frame with ptp_transport_recv() and calls ptp_msg_post_recv() with the attacker-chosen type. PTP uses UDP multicast or raw Ethernet (0x88F7) and is unauthenticated, so any host on the same link can trigger the indexing on a CONFIG_PTP-enabled node with no preconditions.

The reliably reproducible impact is a denial of service (fault/crash); a limited memory-corruption path exists but depends on the build-specific value adjacent to msg_size[], which the attacker cannot tune. The fix rejects type >= ARRAY_SIZE(msg_size) with -EBADMSG before any indexing.

AnalysisAI

Remote denial-of-service in Zephyr RTOS's Precision Time Protocol stack (versions 3.7.0 through pre-4.4.2) allows any link-adjacent unauthenticated attacker to crash a CONFIG_PTP-enabled node by sending a crafted PTP frame carrying an undefined message type (0xE or 0xF). The 4-bit wire-type field is used without an upper-bound check to index a 14-entry msg_size[] array, and the out-of-range value is subsequently reused as a TLV parsing budget, driving further out-of-bounds reads and in-place byte-swap writes past the received message slab. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Install
technique details hidden
C2
technique details hidden
Execute
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires three concrete conditions to be simultaneously true: (1) the target device runs Zephyr RTOS version 3.7.0 through pre-4.4.2 compiled with CONFIG_PTP=y - devices built without PTP support are not affected; (2) the attacker is adjacent to the target at the link layer or IP subnet level, reachable via UDP multicast on PTP ports 319/320 or raw Ethernet EtherType 0x88F7 - internet-based exploitation is not possible without prior network-layer compromise; (3) the target's PTP port is in active frame-processing state via ptp_port_event_gen(), which is the normal operational condition for any PTP-enabled node. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 3.1 score of 6.5 (AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately reflects the core risk profile: the vulnerability is trivially triggerable from the link layer with zero prerequisites, but is constrained to adjacent-network adjacency and produces a reliable denial of service rather than code execution in the common case. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation The primary fix is to upgrade to Zephyr 4.4.2 or later, which incorporates the upstream patch from commit 30dabd4c2f2e3641732c00111cd80b5c524c0136 (https://github.com/zephyrproject-rtos/zephyr/commit/30dabd4c2f2e3641732c00111cd80b5c524c0136); note that the 4.4.2 boundary is inferred from EUVD-2026-61492 and has not been independently verified against a tagged Zephyr release. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-12632 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy