nday
CVE-2021-22555

Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE

Linux / Kernel

Added to KEV 1,552 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

buffer overflow / out-of-bounds write
CWE-787, stated by the CNA Google, NVD's analysts, and NVD, republishing [email protected]
adjacent network
AV:A in CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA Google
no authentication required
PR:N in CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA Google
no user interaction
UI:N in CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA Google
Metasploit
Metasploit modules exploit/linux/local/netfilter_xtables_heap_oob_write_priv_esc
Exploit-DB
Exploit-DB entries 50135
Linux kernel
affected products in the CVE record: Linux · KernelCPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
affected products in the CVE record: Linux · KernelCPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
stage
KEV
disclosed
disclosure → KEV
T+1552d KEV is date-only
cvss
8.3 HIGH v3.1
KEV due date
2025-10-27

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-07-07T11:20Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2021-07-15, date only
metasploit
ITWexploited
≤ 2025-10-06, inferred from KEV
KEVKEV
2025-10-06, date only

Summary

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:A
Adjacent: only from a nearby network, such as the same LAN segment or Bluetooth range
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA Google.

Event log

+DISdisclosed

CVE record published by Google. CVSS 8.3, high. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 18760,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-22555",
  "occurred_at": "2021-07-07T11:20:10.668Z",
  "observed_at": "2026-11-12T15:02:49.796473Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22555",
      "date_added": "2025-10-06"
    },
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.3,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-10-04T03:55:24.534831Z",
      "automatable": "no",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2021-07-07T11:20:10.668Z",
    "assigner_short_name": "Google"
  }
}
2021-07-15date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Linux Kernel 2.6.19 < 5.9 - 'Netfilter Local Privilege Escalation” (EDB-50135). Verified by Exploit-DB.

src exploitdb 50135 · nday , bulk import · raw
{
  "id": 24135,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50135",
  "occurred_at": "2021-07-15T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "50135",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50135",
    "file": "exploits/linux/local/50135.c",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Linux Kernel 2.6.19 < 5.9 - 'Netfilter Local Privilege Escalation",
    "author": "TheFloW",
    "edb_id": 50135,
    "cve_ids": [
      "CVE-2021-22555"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2021-07-16",
    "date_updated": "2021-11-17",
    "date_published": "2021-07-15"
  }
}
2025-10-06date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2025-10-27. Ransomware use: unknown.

src kev · nday , bulk import · raw
{
  "id": 346,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2025-10-06T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-787"
    ],
    "notes": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=9fa492cdc160cd27ce1046cb36f47d3b2b1efa21 ; https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=b29c457a6511435960115c0f548c4360d5f4801d ; https://security.netapp.com/advisory/ntap-20210805-0010/ ; https://github.com/google/security-research/security/advisories/GHSA-xxx5-8mvq-3528 ; https://nvd.nist.gov/vuln/detail/CVE-2021-22555",
    "product": "Kernel",
    "due_date": "2025-10-27",
    "precision": "day",
    "date_added": "2025-10-06",
    "vendor_project": "Linux",
    "forensic_triage": "No",
    "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.",
    "vulnerability_name": "Linux Kernel Heap Out-of-Bounds Write Vulnerability",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2025-10-06inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/linux/local/netfilter_xtables_heap_oob_write_priv_esc (Netfilter x_tables Heap OOB Write Privilege Escalation). The source gives no release time for the module.

src metasploit exploit/linux/local/netfilter_xtables_heap_oob_write_priv_esc · nday , bulk import · raw
{
  "id": 50883,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/netfilter_xtables_heap_oob_write_priv_esc.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/local/netfilter_xtables_heap_oob_write_priv_esc",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/netfilter_xtables_heap_oob_write_priv_esc.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/local/netfilter_xtables_heap_oob_write_priv_esc.rb",
    "rank": 500,
    "check": true,
    "title": "Netfilter x_tables Heap OOB Write Privilege Escalation",
    "cve_ids": [
      "CVE-2021-22555"
    ],
    "fullname": "exploit/linux/local/netfilter_xtables_heap_oob_write_priv_esc",
    "rank_name": "great",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-02-28 09:35:28 +0000",
    "vuln_disclosure_date": "2021-07-07"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.