CVE-2026-31674
netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check()
Reported by linux · Published April 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| perf | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
11 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 5.10.253 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.7, 3.1.6, 3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.6, 3.1.5 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2023 | kernel-libbpf | 0 |
…and 31 more
Timeline
- Apr 25, 2026 CVE Published
- Apr 25, 2026 PoC Published
- Apr 27, 2026 Security Advisory (103 in total, the first dated here)
- May 18, 2026 EPSS Score (26 in total, the first dated here)
- Jul 19, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (97 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31674
vulnetix vdb fixes CVE-2026-31674
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31674/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart