# CVE-2026-16514: Out-of-bounds read in gPTP Announce path-trace validation via unvalidated stepsRemoved

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-09-18T14:30:11.895Z
- **Modified:** 2026-09-18T19:11:57.760Z

## Who should check

- Anyone running zephyrproject zephyr \>= 1.13.0, \< 4.4.2

## Description

gptp\_mi\_qualify\_announce() in subsys/net/l2/ethernet/gptp/gptp\_mi.c walks the Path Trace TLV of a received IEEE 802.1AS Announce message, comparing each clock identity against the local one. The loop bound was taken solely from the attacker-controlled wire field announce-\>steps\_removed (accepted up to 254), never from announce-\>tlv.len, which is the field that states how many identities the TLV actually carries. Because path\_sequence is the flexible member of the wire TLV (struct gptp\_path\_trace\_tlv) and GPTP\_ANNOUNCE() yields a raw pointer into the received packet buffer, the memcmp() inside the loop can address memory well past the end of the received frame.

The stack's only length validation, GPTP\_ANNOUNCE\_CHECK\_LEN(), requires the received gPTP payload to be exactly 68 + tlv.len bytes — so it does not constrain the loop, it guarantees the data is absent. An unauthenticated attacker on the same Ethernet segment can send a single Announce frame declaring tlv.len = 0 with steps\_removed = 254; the frame passes the length check and reception path (net\_gptp\_recv() → gptp\_handle\_msg() → gptp\_mi\_qualify\_announce()), which performs no authentication, and the loop then reads 255 entries of 8 bytes each — about 2 KB — beyond the end of the network buffer.

The impact is an out-of-bounds read. The bytes read are only used as a memcmp() operand and are never returned to the attacker, so there is no meaningful information disclosure; the practical risk is that the overread crosses a network buffer pool boundary into unmapped or MPU-protected memory and faults the networking RX thread, causing a denial of service. Exposure is limited to builds that enable the opt-in, experimental CONFIG\_NET\_GPTP (TSN/AVB deployments) and to attackers with layer-2 adjacency, since gPTP frames are sent to a link-local multicast address and are not routed.

The fix computes the true entry count as tlv.len / GPTP\_CLOCK\_ID\_LEN and rejects the announce when steps\_removed + 1 exceeds it, so the loop can no longer run past the data the packet-length check proved present.

## Affected and fixed versions

- zephyrproject zephyr: \>= 1.13.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-16514. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-16514.md
Affected: zephyrproject zephyr >= 1.13.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-16514 being exploited?

There is no confirmed exploitation: CVE-2026-16514 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-16514?

Medium: CVSS 4.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-16514?

zephyrproject zephyr \>= 1.13.0, \< 4.4.2.

### Is there a fix for CVE-2026-16514?

Yes. Fixed in zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-16514?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mgxg-89rr-6855>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/a2c882db7a57cf08a06b4d27bead22b07a9c3c61>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-16514>

HTML: <https://flawdb.com/CVE-2026-16514> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-16514>
