CVE-2021-22555
Confirmed PUBLISHEDHeap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE
1 day faster than CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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
- CVE Published
- Jul 07, 2021
- Exploitation Reported
- Jun 01, 2026
- CVSS
- 8.3 High
- EPSS
- 78.7%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
Linux Kernel
|
2.6.19-rc1 to < unspecified |
Affected |
CVE References
- GitHub — google/security-research github.com · CVE Record https://github.com/google/security-research/security/advisories/GHSA-...
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/... git.kernel.org · CVE Record https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/co...
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/... git.kernel.org · CVE Record https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/co...
- packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-Heap-Out... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-He...
- security.netapp.com/advisory/ntap-20210805-0010 security.netapp.com · CVE Record https://security.netapp.com/advisory/ntap-20210805-0010/
Show 4 more references
- packetstormsecurity.com/files/163878/Kernel-Live-Patch-Security-Noti... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/163878/Kernel-Live-Patch-Securit...
- packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Noti... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Securit...
- packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-Out-Of-... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-O...
- packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Noti... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Securit...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CVE First | 2026-06-01 10:41 UTC |
| CISA | 2026-06-02 14:05 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/netfilter_xtables_heap_oob_write_priv_esc.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2026-06-01 13:30:37 UTC · CISA
Proof of concept available
Recorded 2021-07-16 01:54:01 UTC · GitHub
Weaknesses (CWE)
-
Out-of-bounds Write
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/netfilter_xtables_heap_oob_write_priv_esc.rb | Apr 28, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2024-02-05 07:05:13 UTC · 0 stars
github · Created 2023-08-20 14:26:28 UTC · 0 stars
Linux Kernel 2.6.19 < 5.9 - 'Netfilter Local Privilege Escalation'
github · Created 2023-08-05 18:56:18 UTC · 3 stars
This repo hosts TUKRU's Linux Privilege Escalation exploit (CVE-2021-22555). It demonstrates gaining root privileges via a vulnerability. Tested on Ubuntu 5.8.0-48-generic and COS 5.4.89+. Use responsibly and ethically.
github · Created 2022-04-05 06:35:25 UTC · 36 stars
CVE-2021-22555 exploit rewritten with pipe primitive
github · Created 2021-07-16 01:54:01 UTC · 10 stars
CVE-2021-22555 Exploit
metasploit · Created Unknown
Metasploit module for CVE-2021-22555
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
14:05 UTC about 2 months ago14:05 UTC · about 2 months ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
10:41 UTC about 2 months ago10:41 UTC · about 2 months ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
01:54 UTC about 5 years ago01:54 UTC · about 5 years ago
Public PoC available
Public proof-of-concept code published
-
11:20 UTC about 5 years ago11:20 UTC · about 5 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 5 years ago00:00 UTC · over 5 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2021-22555
{
"cve_id": "CVE-2021-22555",
"title": "Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE",
"affected_vendor": "Linux",
"affected_product": "Linux Kernel",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 8.3,
"epss_score": 0.78684,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}