CVE-2023-4004: Use-after-free in Linux kernel Netfilter nft_pipapo_remove()
- Vendors
- Debian ProjectFedora ProjectNetAppLinuxRed Hat
CVE-2023-4004 is a use-after-free vulnerability in the Linux kernel Netfilter subsystem. Improper element removal in nft_pipapo_remove() can trigger the flaw when the element lacks NFT_SET_EXT_KEY_END. A local, low-privileged attacker can exploit the vulnerability without user interaction to crash the system or potentially escalate privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause a kernel crash and system-wide denial of service. Potential local privilege escalation could compromise system confidentiality and integrity. The vulnerability has a CVSS v3.1 base score of 7.8 with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Mitigation
If you can’t patch tonight, do this now.
Prevent the affected Netfilter kernel module from loading, as recommended by Red Hat. This workaround can affect functionality that depends on the module and does not replace installation of a security update.
Remediation
Patch, then assume compromise.
Install the vendor-provided kernel or kernel-rt update for the affected distribution and support channel, then reboot into the fixed kernel. Fixed versions include RHEL 8 kernel 4.18.0-477.27.1.el8_8 under RHSA-2023:5244, supported RHEL 8.4 kernel 4.18.0-305.103.1.el8_4 under RHSA-2023:4962, and supported RHEL 8.2 kernel 4.18.0-193.119.1.el8_2 under RHSA-2023:7434. RHEL 9 fixes are available under RHSA-2023:5069. Alternatively, install an applicable vendor-supported kpatch-patch update for the exact running kernel; relevant live-patch advisories include RHSA-2023:5221, RHSA-2023:5548, RHSA-2023:7417, and RHSA-2023:7411.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-4004 exploited in the wild?
- As of Oct 23, 2026, Mallory has no reports of CVE-2023-4004 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-4004?
- As of Oct 23, 2026, Mallory has found no public exploit for CVE-2023-4004.
- Is there a patch for CVE-2023-4004?
- Install the vendor-provided kernel or kernel-rt update for the affected distribution and support channel, then reboot into the fixed kernel. Fixed versions include RHEL 8 kernel 4.18.0-477.27.1.el8_8 under RHSA-2023:5244, supported RHEL 8.4 kernel 4.18.0-305.103.1.el8_4 under RHSA-2023:4962, and supported RHEL 8.2 kernel 4.18.0-193.119.1.el8_2 under RHSA-2023:7434.
- What products are affected by CVE-2023-4004?
- Linux Kernel, Debian Project Debian Linux, Fedora Project Fedora, NetApp H300s, NetApp H410s, and 3 more.
- How severe is CVE-2023-4004?
- CVE-2023-4004 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.54% (39th percentile) as of Oct 23, 2026.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.