CVE-2026-139344
macsec: prevent AES-GCM nonce reuse after packet number wrap
Check your servers for CVE-2026-139344
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139344 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
macsec: prevent AES-GCM nonce reuse after packet number wrap
After allocating the last valid packet number, MACsec wraps next_pn to zero and deactivates the transmit SA. This happens for both 32- and 64-bit types of packet numbers (at values 0xffffffff and 0xffffffffffffffff, respectively).
TX packets that were still getting processed during deactivation keep being processed and then receive packet numbers. The first gets 0 and is correctly dropped, but next_pn is incremented to 1, which makes the next packet take number 1. It then does not get dropped and may induce a reuse of the AES-GCM nonce corresponding to value 1.
This race affects TX packets that have already passed the SA activity check: packets that observe the inactive SA are correctly dropped. Reactivating the SA after PN wrap without a packet number can also cause nonce reuse. Keep next_pn at 0 after wrap, even if the SA is reactivated, so further packet number allocations return 0 and the corresponding packets are dropped.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before 83edde471129ab3f0bbff4b2470d3066e2c7e111 affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before 39f656dcdb08dc5463e90b67ee30d2f7b41a933b affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before a371e502e5a07cb049499be1e43b865ed3ba4eb1 affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before 54ac400341e33bd8c79840595e0185eb17a422bc affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before cf3da25ead14590771ea151dde9b7c4ae112bb48 affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before 8366ca908e5f2aa2e283fae5f0512a788cf1b4c8 affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before 504eaccdb56f267d7e087b653b1fb0e075f9b4c9 affected from c09440f7dcb304002dfced8c0fea289eb25f2da0, before 94d51c59f0a872c57cb8daa1964ec033d77a79fb
Other versions: unaffected
|
| Linux |
affected 4.6 unaffected before 4.6 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139344 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139344
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139344
trivy image --scanners vuln IMAGE | grep CVE-2026-139344
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/83edde471129ab3f0bbff4b2470d3066e2c7e111 git.kernel.org
- https://git.kernel.org/stable/c/39f656dcdb08dc5463e90b67ee30d2f7b41a933b git.kernel.org
- https://git.kernel.org/stable/c/a371e502e5a07cb049499be1e43b865ed3ba4eb1 git.kernel.org
- https://git.kernel.org/stable/c/54ac400341e33bd8c79840595e0185eb17a422bc git.kernel.org
- https://git.kernel.org/stable/c/cf3da25ead14590771ea151dde9b7c4ae112bb48 git.kernel.org
- https://git.kernel.org/stable/c/8366ca908e5f2aa2e283fae5f0512a788cf1b4c8 git.kernel.org
- https://git.kernel.org/stable/c/504eaccdb56f267d7e087b653b1fb0e075f9b4c9 git.kernel.org
- https://git.kernel.org/stable/c/94d51c59f0a872c57cb8daa1964ec033d77a79fb git.kernel.org
Source: the record CVE-2026-139344 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse