CVE-2026-31685
netfilter: ip6t_eui64: reject invalid MAC header for all packets
Check your servers for CVE-2026-31685
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-31685 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:
netfilter: ip6t_eui64: reject invalid MAC header for all packets
`eui64_mt6()` derives a modified EUI-64 from the Ethernet source address and compares it with the low 64 bits of the IPv6 source address.
The existing guard only rejects an invalid MAC header when `par->fragoff != 0`. For packets with `par->fragoff == 0`, `eui64_mt6()` can still reach `eth_hdr(skb)` even when the MAC header is not valid.
Fix this by removing the `par->fragoff != 0` condition so that packets with an invalid MAC header are rejected before accessing `eth_hdr(skb)`.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.50%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 44.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 4d75bc2cd093bf5803edf512c099bfb220fd6459 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7d6a57411caf54df025860c9b1a82cd42d57a562 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d5603591373441fecf9951833d6d873e09320f08 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 288138418bef956f8b295751a4536c60f0e89f4a affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9eda5478746ef7dc0e4e537b5a5e4b0ca1027091 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 807d6ee15804df6f01a35c910f09612e858739a6 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 309ae3e9a51a69699ca94eac5fac5688fa562d55 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before fdce0b3590f724540795b874b4c8850c90e6b0a8
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.136 up to and including 6.6.* unaffected from 6.12.83 up to and including 6.12.* unaffected from 6.18.24 up to and including 6.18.* unaffected from 6.19.14 up to and including 6.19.* unaffected 7.0 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-31685 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31685
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-31685
trivy image --scanners vuln IMAGE | grep CVE-2026-31685
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/4d75bc2cd093bf5803edf512c099bfb220fd6459 git.kernel.org
- https://git.kernel.org/stable/c/7d6a57411caf54df025860c9b1a82cd42d57a562 git.kernel.org
- https://git.kernel.org/stable/c/d5603591373441fecf9951833d6d873e09320f08 git.kernel.org
- https://git.kernel.org/stable/c/288138418bef956f8b295751a4536c60f0e89f4a git.kernel.org
- https://git.kernel.org/stable/c/9eda5478746ef7dc0e4e537b5a5e4b0ca1027091 git.kernel.org
- https://git.kernel.org/stable/c/807d6ee15804df6f01a35c910f09612e858739a6 git.kernel.org
- https://git.kernel.org/stable/c/309ae3e9a51a69699ca94eac5fac5688fa562d55 git.kernel.org
- https://git.kernel.org/stable/c/fdce0b3590f724540795b874b4c8850c90e6b0a8 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-31685 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse