Junglewise Threat Intelligence

CVE-2026-63925: Linux Kernel macsec replay protection bypass in XPN wrap-around

CVE-2026-63925 · Severity: info · CVSS 0 · Published 2026-07-19

Technologies: Linux. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's MACsec implementation could allow an attacker on the local network to bypass security protections. MACsec is a standard used to secure communication between devices on a local area network. By exploiting a mathematical error in how the system tracks message numbers, an attacker could repeatedly replay captured network traffic, potentially disrupting operations or manipulating data streams.

Technical details

A vulnerability in the `macsec_post_decrypt()` function in `drivers/net/macsec.c` occurs when the 32-bit packet number (PN) reaches its maximum value (U32_MAX). Due to an integer overflow, `pn + 1` wraps to zero, causing the logic that advances the next expected packet number to fail. Under specific conditions where the lower half of the next PN is in the upper half of its range, the state remains unchanged. This allows an attacker who captures a frame with PN 0xFFFFFFFF to replay it indefinitely, as the `lowest_pn` threshold never advances and the initialization vector (IV) remains valid for that specific frame. The fix extends the XPN logic to advance the packet number halves when a wrap-around is detected.

Affected products

  • Linux Linux 5.7 to 6.13

Timeline

  • 2026-05-20: patched: Initial fix authored by Junrui Luo
  • 2026-07-19: advisory: CVE-2026-63925 published

References