{"id":"CVE-2026-63925","aliases":["CVE-2026-63925"],"related":[],"kind":"vulnerability","state":"published","title":"macsec: fix replay protection at XPN lower-PN wrap","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"}],"published":"2026-07-19T14:55:26.442Z","modified":"2026-10-27T13:00:07.490Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"dd7306779c6ce1238f4cdc34f3c1f2246b854457","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"d15130461df388136b62a7b0ce9f66e7e2fa9ff1","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"23c0e230eab397d7f68be2538790ac41d3bb91fd","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"679e13a65e68a67c8b3c0467c02ee89157ec6f0f","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"79495a1b0944fe31ffd54b54b00211b493590d62","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"d55acbe577db892b60547b6ef1c020b359331a6d","status":"affected"},{"type":"git","introduced":"a21ecf0e033807b976967286e6c392f48ee2049f","fixed":"e68842b3356471ba56c882209f324613dac47f64","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.93","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.35","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.12","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.7","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.93"},{"status":"affected","introduced":"6.13","fixed":"6.18.35"},{"status":"affected","introduced":"6.19","fixed":"7.0.12"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dd7306779c6ce1238f4cdc34f3c1f2246b854457","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d15130461df388136b62a7b0ce9f66e7e2fa9ff1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23c0e230eab397d7f68be2538790ac41d3bb91fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/679e13a65e68a67c8b3c0467c02ee89157ec6f0f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79495a1b0944fe31ffd54b54b00211b493590d62","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d55acbe577db892b60547b6ef1c020b359331a6d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e68842b3356471ba56c882209f324613dac47f64","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T15:33:35.580Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63925","url":"https://www.cve.org/CVERecord?id=CVE-2026-63925","licence":"CVE Terms of Use","modified":"2026-10-19T20:17:57.078Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63925","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63925","licence":"Public domain","modified":"2026-10-27T13:00:07.490Z"}],"updatedAt":"2026-11-25T22:59:28.834Z","epss":{"score":0.00347,"percentile":0.30237,"date":"2026-12-01T12:00:22.000Z"}}