CVE-2026-13481: bounds in zephyrproject zephyr
Description
CVE-2026-13481 is a medium severity vulnerability in the Zephyr project's IEEE 1588 PTP management-message parser. The flaw occurs because the parser mishandles the PTP_MGMT_TIME management ID by not validating the length of the TLV data before casting and accessing it. This can lead to an out-of-bounds read and a bounded in-place corruption of the parsed timestamp within the message buffer. The vulnerability allows an adjacent attacker on the local PTP segment to send a specially crafted message causing minor information exposure and corruption of the device's parsed management TIME value without causing crashes or broader memory corruption. A fix involves adding a length check before processing the timestamp data.
CVSS v3.1
Score 5.4medium
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 IEEE 1588 PTP management-message parser in Zephyr's subsys/net/lib/ptp/tlv.c improperly handles the PTP_MGMT_TIME management ID by casting the TLV data to a 10-byte struct ptp_timestamp and reading/writing it without verifying that the TLV data length is sufficient. While other management IDs validate length first, PTP_MGMT_TIME lacks this check, allowing a peer on the local PTP segment to send a PTP_MSG_MANAGEMENT message with a short TLV data field (as small as 2 bytes). This causes an out-of-bounds read and a bounded write-back within the same message buffer, leading to minor information exposure and corruption of the parsed timestamp. The vulnerability does not cause crashes or reference-count corruption. The fix adds a length check returning an error if the TLV data is too short, aligning with other management ID cases and closing the defect.
Potential Impact
An adjacent attacker on the local PTP segment can exploit this vulnerability to cause an out-of-bounds read of adjacent in-object memory and a bounded corruption of the parsed timestamp in the PTP management message. This results in minor information disclosure of adjacent bytes and corruption of the device's parsed management TIME value. There is no crash or broader memory corruption, and no reference-count corruption is reachable through this flaw.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves adding a length check before processing the PTP_MGMT_TIME TLV data to prevent out-of-bounds access. Until an official fix is available, disabling CONFIG_PTP or restricting access to the local PTP segment may reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-27T13:33:57.600Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8ef6f6acd9273b49fd636f
Added to database: 08/26/2026, 14:23:50 UTC
Last enriched: 09/07/2026, 15:15:16 UTC
Last updated: 10/09/2026, 06:48:15 UTC
Views: 68
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.