← Vulnerability feed

Vulnerability record · CVE-2021-22555 · published 7 July 2021

CVE-2021-22555: Linux kernel netfilter x_tables heap out-of-bounds write

NNetapp · C400 Firmware

A heap out-of-bounds write exists in the Linux kernel netfilter x_tables code (net/netfilter/x_tables.c), present since v2.6.19-rc1. A local attacker can corrupt heap memory through a user namespace, leading to privilege escalation or denial of service. The flaw is remotely relevant only in the sense that it is a widely deployed kernel component, but exploitation itself is local.

7.8 CVSS 3.1 High CISA KEV since 6 Oct 2025 EPSS 79% · top 0.4% CWE-787 · Out-of-bounds write
7.8CVSS 3.1 base score, v2 4.6
79%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
21Affected product versions listed by NVD
19References, 10 tagged exploit
17 Jun 2026Last modified by NVD

Description

A heap out-of-bounds write affecting Linux since v2.6.19-rc1 was discovered in net/netfilter/x_tables.c. This allows an attacker to gain privileges or cause a DoS (via heap memory corruption) through user name space

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is in CISA KEV with a very high EPSS score and public exploit code, but exploitation requires local low-privileged access rather than being remotely reachable.

What it is

A heap out-of-bounds write exists in the Linux kernel netfilter x_tables code (net/netfilter/x_tables.c), present since v2.6.19-rc1. A local attacker can corrupt heap memory through a user namespace, leading to privilege escalation or denial of service. The flaw is remotely relevant only in the sense that it is a widely deployed kernel component, but exploitation itself is local.

Impact

An attacker gains kernel-level heap corruption that can be turned into privilege escalation to root, or used to crash the system for denial of service.

Attack surface

Reached locally via the netfilter/x_tables interface, requiring a low-privileged local account and user namespace access; no user interaction is needed. The CVSS vector is AV:L/AC:L/PR:L/UI:N, confirming local, low-complexity, authenticated access.

Exploitation

CVE-2021-22555 is listed in CISA KEV (added 2025-10-06, due 2025-10-27) and has a high EPSS 30-day probability of 0.78684 (99.566th percentile). Multiple references are tagged Exploit, including public proof-of-concept and kernel live-patch notices, so working exploit code is publicly available.

What to do

  • Apply the upstream kernel patches referenced in the git.kernel.org commits for net/netfilter/x_tables.c, or update to a vendor kernel that includes them.
  • For NetApp, Brocade and other listed products, apply the vendor advisories (e.g. NetApp ntap-20210805-0010) or discontinue use if no fix is available, per CISA KEV required action.
  • Restrict unprivileged user namespace creation (e.g. kernel.unprivileged_userns_clone=0 or equivalent) where the workload allows, to reduce the attack surface.
  • Limit local shell access and enforce least privilege so untrusted users cannot reach the vulnerable netfilter code path.
  • Track the CISA KEV due date of 2025-10-27 and prioritize remediation of internet-facing or multi-tenant hosts first.

Detection

  • Monitor for unexpected privilege escalation or setuid/root shell spawning from low-privileged processes on Linux hosts.
  • Audit kernel logs and crash dumps for netfilter/x_tables related heap corruption, slab errors or general protection faults.
  • Watch for creation of unprivileged user namespaces and unusual netfilter/iptables rule manipulation by non-root users.
  • Use host-based EDR or auditd rules to alert on execution of known public exploit binaries targeting CVE-2021-22555.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-22555 to the Known Exploited Vulnerabilities catalog on 6 October 2025 as "Linux Kernel Heap Out-of-Bounds Write Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 27 October 2025.

Affected products

21 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-Heap-Out-Of-Bounds-Write.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/163878/Kernel-Live-Patch-Security-Notice-LSN-0080-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Notice-LSN-0081-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-Out-Of-Bounds-Write-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.html ExploitThird Party AdvisoryVDB Entry
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=9fa492cdc160cd27ce Mailing ListPatchVendor Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=b29c457a6511435960 Mailing ListPatchVendor Advisory
https://github.com/google/security-research/security/advisories/GHSA-xxx5-8mvq-3528 ExploitThird Party Advisory
https://security.netapp.com/advisory/ntap-20210805-0010/ Third Party Advisory
http://packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-Heap-Out-Of-Bounds-Write.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/163878/Kernel-Live-Patch-Security-Notice-LSN-0080-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Notice-LSN-0081-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-Out-Of-Bounds-Write-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.html ExploitThird Party AdvisoryVDB Entry
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=9fa492cdc160cd27ce Mailing ListPatchVendor Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=b29c457a6511435960 Mailing ListPatchVendor Advisory
https://github.com/google/security-research/security/advisories/GHSA-xxx5-8mvq-3528 ExploitThird Party Advisory
https://security.netapp.com/advisory/ntap-20210805-0010/ Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22555 US Government Resource

Track CVE-2021-22555 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2023-3079Google Chrome V8 type confusion enables heap corruptionCVE-2023-3079 is a type confusion flaw in the V8 JavaScript engine in Google Chrome before 114.0.5735.110. A crafted HTML page can trigger the confus…KEVEPSS 32%analysed8.8CVE-2013-6282Linux kernel ARM get_user/put_user missing address validationThe get_user and put_user API functions in the Linux kernel before 3.5.5 on v6k and v7 ARM platforms fail to validate certain addresses, allowing cra…KEVEPSS 40%analysed8.4CVE-2022-0185Linux Kernel Filesystem Context Heap Buffer OverflowThe legacy_parse_param function in the Linux kernel's Filesystem Context functionality fails to properly verify supplied parameter lengths, causing a…KEVEPSS 25%analysed8.4CVE-2013-2094Linux Kernel perf_swevent_init Integer Type Flaw Enables Local Privilege EscalationThe perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, allowing a local user to…KEVEPSS 48%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2026-31431Linux kernel algif_aead in-place crypto operation flawThe Linux kernel's algif_aead AF_ALG AEAD interface operated in-place on buffers that come from different mappings, a flaw the fix resolves by revert…KEVEPSS 3.4%analysed

Source: NIST National Vulnerability Database (record CVE-2021-22555), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.