CVE-2026-63925 macsec: fix replay protection at XPN lower-PN wrap
Integer overflow in Linux kernel MACsec allows indefinite replay of frames at packet number wrap, bypassing replay protection.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-63925?
CVE-2026-63925 is a high-severity vulnerability in Linux kernel, published on 19 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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).
Weakness: CWE-190
Which versions are affected by CVE-2026-63925?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-63925?
Apply the vendor's patch.
Is CVE-2026-63925 being exploited?
There is no known exploitation of CVE-2026-63925 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-63925, DEBIAN-CVE-2026-63925, GHSA-9hhm-2pf7-p38c, ROOT-OS-UBUNTU-2204-CVE-2026-63925, UBUNTU-CVE-2026-63925.