CVE-2026-98321
netfilter: nf_nat: unregister and release hooks on error
Check your servers for CVE-2026-98321
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-98321 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: nf_nat: unregister and release hooks on error
If nf_hook_entries_insert_raw() fails, the NAT hooks get never released, resulting in a memleak.
Postpone setting nat_proto_net->nat_hook_ops when the hooks are registered to simplify the error path to decide whether the nat hooks need unwinding.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.06% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1cd472bf036ca038e783ef5f058f54e45b7e8180, before 79084567cd082fb4482e1ea457580e7d6504dd99 affected from 1cd472bf036ca038e783ef5f058f54e45b7e8180, before df80342f4bfc023ad7d6703df5e27f583ff0cb8d affected from 1cd472bf036ca038e783ef5f058f54e45b7e8180, before cbdd39ce42530a193c56beb206a3356cb6d01016
Other versions: unaffected
|
| Linux |
affected 4.18 unaffected before 4.18 unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 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-98321 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98321
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-98321
trivy image --scanners vuln IMAGE | grep CVE-2026-98321
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/79084567cd082fb4482e1ea457580e7d6504dd99 git.kernel.org
- https://git.kernel.org/stable/c/df80342f4bfc023ad7d6703df5e27f583ff0cb8d git.kernel.org
- https://git.kernel.org/stable/c/cbdd39ce42530a193c56beb206a3356cb6d01016 git.kernel.org
Source: the record CVE-2026-98321 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