CVE-2026-12632: bounds in zephyrproject zephyr
CVE-2026-12632 is a vulnerability in Zephyr's Precision Time Protocol (PTP) receive handler where an out-of-bounds read occurs due to improper indexing of a message size table. This flaw allows an attacker on the same network link to cause a denial of service by triggering a crash. The vulnerability arises because the message type extracted from network packets is not properly bounded before indexing an array, leading to memory corruption risks. The issue affects Zephyr versions from 3.7.0 up to but not including 4.4.2. A fix is available that rejects out-of-range message types before indexing.
AI Analysis
Technical Summary
The vulnerability in Zephyr's PTP receive handler (ptp_msg_post_recv) involves using a 4-bit message type from incoming network packets to index a msg_size[] array without upper-bound checks. The array defines entries only up to message type 0xD, but types 0xE and 0xF cause out-of-bounds reads. This leads to further out-of-bounds reads and writes during message processing, reachable directly from the network via unauthenticated UDP multicast or raw Ethernet frames. The impact is primarily denial of service via crash, with a limited memory corruption possibility dependent on build specifics. The fix adds a check to reject message types greater or equal to the array size, preventing out-of-bounds access.
Potential Impact
An attacker on the same network link can send crafted PTP packets with out-of-range message types to cause a denial of service by crashing the affected Zephyr node. There is also a limited memory corruption risk, but it depends on adjacent memory layout and cannot be reliably exploited. The vulnerability does not affect confidentiality or integrity but impacts availability.
Mitigation Recommendations
A fix is available that rejects out-of-range message types before indexing the msg_size array, preventing out-of-bounds access. Users should upgrade to Zephyr version 4.4.2 or later where this issue is resolved.
CVE-2026-12632: bounds in zephyrproject zephyr
Description
CVE-2026-12632 is a vulnerability in Zephyr's Precision Time Protocol (PTP) receive handler where an out-of-bounds read occurs due to improper indexing of a message size table. This flaw allows an attacker on the same network link to cause a denial of service by triggering a crash. The vulnerability arises because the message type extracted from network packets is not properly bounded before indexing an array, leading to memory corruption risks. The issue affects Zephyr versions from 3.7.0 up to but not including 4.4.2. A fix is available that rejects out-of-range message types before indexing.
CVSS v3.1
Score 6.5medium
Affected software
zephyrproject
zephyr
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Zephyr's PTP receive handler (ptp_msg_post_recv) involves using a 4-bit message type from incoming network packets to index a msg_size[] array without upper-bound checks. The array defines entries only up to message type 0xD, but types 0xE and 0xF cause out-of-bounds reads. This leads to further out-of-bounds reads and writes during message processing, reachable directly from the network via unauthenticated UDP multicast or raw Ethernet frames. The impact is primarily denial of service via crash, with a limited memory corruption possibility dependent on build specifics. The fix adds a check to reject message types greater or equal to the array size, preventing out-of-bounds access.
Potential Impact
An attacker on the same network link can send crafted PTP packets with out-of-range message types to cause a denial of service by crashing the affected Zephyr node. There is also a limited memory corruption risk, but it depends on adjacent memory layout and cannot be reliably exploited. The vulnerability does not affect confidentiality or integrity but impacts availability.
Mitigation Recommendations
A fix is available that rejects out-of-range message types before indexing the msg_size array, preventing out-of-bounds access. Users should upgrade to Zephyr version 4.4.2 or later where this issue is resolved.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-18T15:22:28.332Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a84c9abc6e8be0332bf084e
Added to database: 08/18/2026, 21:07:55 UTC
Last enriched: 09/11/2026, 20:47:38 UTC
Last updated: 10/02/2026, 02:46:02 UTC
Views: 39
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.