# CVE-2026-63925: macsec: fix replay protection at XPN lower-PN wrap

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

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **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.35% (percentile 30, 2026-12-04)
- **CWE:** CWE-190
- **Published:** 2026-07-19T14:55:26.442Z
- **Modified:** 2026-10-27T13:00:07.490Z

## Who should check

- Anyone running Linux \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< dd7306779c6ce1238f4cdc34f3c1f2246b854457; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< d15130461df388136b62a7b0ce9f66e7e2fa9ff1; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 23c0e230eab397d7f68be2538790ac41d3bb91fd; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 679e13a65e68a67c8b3c0467c02ee89157ec6f0f; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 79495a1b0944fe31ffd54b54b00211b493590d62; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< d55acbe577db892b60547b6ef1c020b359331a6d; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< e68842b3356471ba56c882209f324613dac47f64
- Anyone running Linux 5.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

macsec: fix replay protection at XPN lower-PN wrap

In macsec\_post\_decrypt(), when pn is U32\_MAX, pn + 1 overflows u32 to 0
and the first branch never fires. If next\_pn\_halves.lower is also in the
upper half, pn\_same\_half(pn, lower) is true and the XPN else-if does not
fire either, leaving next\_pn\_halves unchanged. An attacker that captures
the legitimate frame carrying pn == 0xFFFFFFFF on an XPN association
can then replay it indefinitely, since lowest\_pn never rises above
the captured pn and macsec\_decrypt() reconstructs the same IV.

Extend the XPN else-if to also fire when pn + 1 wraps to 0, so receipt
of pn == U32\_MAX advances next\_pn\_halves to (upper + 1, 0).

## Affected and fixed versions

- Linux: \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< dd7306779c6ce1238f4cdc34f3c1f2246b854457; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< d15130461df388136b62a7b0ce9f66e7e2fa9ff1; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 23c0e230eab397d7f68be2538790ac41d3bb91fd; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 679e13a65e68a67c8b3c0467c02ee89157ec6f0f; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 79495a1b0944fe31ffd54b54b00211b493590d62; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< d55acbe577db892b60547b6ef1c020b359331a6d; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< e68842b3356471ba56c882209f324613dac47f64 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-63925.md
Affected: Linux >= a21ecf0e033807b976967286e6c392f48ee2049f, < dd7306779c6ce1238f4cdc34f3c1f2246b854457; >= a21ecf0e033807b976967286e6c392f48ee2049f, < d15130461df388136b62a7b0ce9f66e7e2fa9ff1; >= a21ecf0e033807b976967286e6c392f48ee2049f, < 23c0e230eab397d7f68be2538790ac41d3bb91fd; >= a21ecf0e033807b97696728…
Fixed in: Linux 23c0e230eab397d7f68be2538790ac41d3bb91fd, Linux 679e13a65e68a67c8b3c0467c02ee89157ec6f0f, Linux 79495a1b0944fe31ffd54b54b00211b493590d62, Linux 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652

Steps:
1. Search this machine and project for Linux: 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-63925 being exploited?

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

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

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

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

Linux \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< dd7306779c6ce1238f4cdc34f3c1f2246b854457; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< d15130461df388136b62a7b0ce9f66e7e2fa9ff1; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 23c0e230eab397d7f68be2538790ac41d3bb91fd; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 679e13a65e68a67c8b3c0467c02ee89157ec6f0f; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 79495a1b0944fe31ffd54b54b00211b493590d62; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< d55acbe577db892b60547b6ef1c020b359331a6d; \>= a21ecf0e033807b976967286e6c392f48ee2049f, \< e68842b3356471ba56c882209f324613dac47f64; Linux 5.7.

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

Yes. Fixed in Linux 23c0e230eab397d7f68be2538790ac41d3bb91fd, Linux 679e13a65e68a67c8b3c0467c02ee89157ec6f0f, Linux 79495a1b0944fe31ffd54b54b00211b493590d62, Linux 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/dd7306779c6ce1238f4cdc34f3c1f2246b854457>
- patch: <https://git.kernel.org/stable/c/d15130461df388136b62a7b0ce9f66e7e2fa9ff1>
- patch: <https://git.kernel.org/stable/c/23c0e230eab397d7f68be2538790ac41d3bb91fd>
- patch: <https://git.kernel.org/stable/c/679e13a65e68a67c8b3c0467c02ee89157ec6f0f>
- patch: <https://git.kernel.org/stable/c/79495a1b0944fe31ffd54b54b00211b493590d62>
- patch: <https://git.kernel.org/stable/c/6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652>
- patch: <https://git.kernel.org/stable/c/d55acbe577db892b60547b6ef1c020b359331a6d>
- patch: <https://git.kernel.org/stable/c/e68842b3356471ba56c882209f324613dac47f64>

## 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-63925>

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