{"id":"CVE-2026-63925","published":"2026-07-19T14:55:26Z","modified":"2026-10-19T20:17:57Z","title":"macsec: fix replay protection at XPN lower-PN wrap","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmacsec: fix replay protection at XPN lower-PN wrap\n\nIn macsec_post_decrypt(), when pn is U32_MAX, pn + 1 overflows u32 to 0\nand the first branch never fires. If next_pn_halves.lower is also in the\nupper half, pn_same_half(pn, lower) is true and the XPN else-if does not\nfire either, leaving next_pn_halves unchanged. An attacker that captures\nthe legitimate frame carrying pn == 0xFFFFFFFF on an XPN association\ncan then replay it indefinitely, since lowest_pn never rises above\nthe captured pn and macsec_decrypt() reconstructs the same IV.\n\nExtend the XPN else-if to also fire when pn + 1 wraps to 0, so receipt\nof pn == U32_MAX advances next_pn_halves to (upper + 1, 0).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.25986,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://git.kernel.org/stable/c/dd7306779c6ce1238f4cdc34f3c1f2246b854457","tags":[]},{"url":"https://git.kernel.org/stable/c/d15130461df388136b62a7b0ce9f66e7e2fa9ff1","tags":[]},{"url":"https://git.kernel.org/stable/c/23c0e230eab397d7f68be2538790ac41d3bb91fd","tags":[]},{"url":"https://git.kernel.org/stable/c/679e13a65e68a67c8b3c0467c02ee89157ec6f0f","tags":[]},{"url":"https://git.kernel.org/stable/c/79495a1b0944fe31ffd54b54b00211b493590d62","tags":[]},{"url":"https://git.kernel.org/stable/c/6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652","tags":[]},{"url":"https://git.kernel.org/stable/c/d55acbe577db892b60547b6ef1c020b359331a6d","tags":[]},{"url":"https://git.kernel.org/stable/c/e68842b3356471ba56c882209f324613dac47f64","tags":[]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.2},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a21ecf0e033807b976967286e6c392f48ee2049f, < dd7306779c6ce1238f4cdc34f3c1f2246b854457",">= a21ecf0e033807b976967286e6c392f48ee2049f, < d15130461df388136b62a7b0ce9f66e7e2fa9ff1",">= a21ecf0e033807b976967286e6c392f48ee2049f, < 23c0e230eab397d7f68be2538790ac41d3bb91fd",">= a21ecf0e033807b976967286e6c392f48ee2049f, < 679e13a65e68a67c8b3c0467c02ee89157ec6f0f",">= a21ecf0e033807b976967286e6c392f48ee2049f, < 79495a1b0944fe31ffd54b54b00211b493590d62",">= a21ecf0e033807b976967286e6c392f48ee2049f, < 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652",">= a21ecf0e033807b976967286e6c392f48ee2049f, < d55acbe577db892b60547b6ef1c020b359331a6d",">= a21ecf0e033807b976967286e6c392f48ee2049f, < e68842b3356471ba56c882209f324613dac47f64"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T15:33:35.580266Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45698","exploited":false,"provenance":"source"}}