CVE-2026-31418

netfilter: ipset: drop logically empty buckets in mtype_del

No CVSS score yet EPSS 0.18%

Published 13 Apr 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31418

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-31418 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: drop logically empty buckets in mtype_del

mtype_del() counts empty slots below n->pos in k, but it only drops the bucket when both n->pos and k are zero. This misses buckets whose live entries have all been removed while n->pos still points past deleted slots.

Treat a bucket as empty when all positions below n->pos are unused and release it directly instead of shrinking it further.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.52% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before c098ff857e7ca923539164af5b3c2fe3e8f8afaf
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before 58f3a14826d4e6b0d5421f1a64be280b48601ea2
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before 6cea34d7ec6829b62f521a37a287f670144a2233
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before b7eef00f08b92b0b9efe8ae0df6d0005e6199323
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before ceacaa76f221a6577aba945bb8873c2e640aeba4
affected from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66, before 9862ef9ab0a116c6dca98842aab7de13a252ae02
affected 6c717726f341fd8f39a3ec2dcf5d98d9d28a2769
affected d2997d64dfa65082236bca1efd596b6c935daf5e
affected from 5.4.24, before 5.5
affected from 5.5.8, before 5.6
Other versions: unaffected
Linux
affected 5.6
unaffected before 5.6
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.168 up to and including 6.1.*
unaffected from 6.6.134 up to and including 6.6.*
unaffected from 6.12.81 up to and including 6.12.*
unaffected from 6.18.22 up to and including 6.18.*
unaffected from 6.19.12 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-31418 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31418

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-31418
trivy image --scanners vuln IMAGE | grep CVE-2026-31418

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

Source: the record CVE-2026-31418 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.