CVE-2026-31674 netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check()
A missing bounds check in the Linux kernel netfilter IPv6 routing match allows out-of-bounds memory access, potentially leading to crashes or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-31674?
CVE-2026-31674 is a high-severity memory corruption vulnerability in Linux kernel, published on 25 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check()
Reject rt match rules whose addrnr exceeds IP6T_RT_HOPS.
rt_mt6() expects addrnr to stay within the bounds of rtinfo->addrs[]. Validate addrnr during rule installation so malformed rules are rejected before the match logic can use an out-of-range value.
Weakness: CWE-125
Which versions are affected by CVE-2026-31674?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-31674?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-31674 being exploited?
There is no known exploitation of CVE-2026-31674 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-84228, BELL-CVE-2026-31674, DEBIAN-CVE-2026-31674, GHSA-h2wr-h6h5-5qfg, ROOT-OS-DEBIAN-11-CVE-2026-31674, ROOT-OS-DEBIAN-12-CVE-2026-31674 and 3 more.