Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE
CVE-2021-22555Published 7 Jul 2021, 11:20 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 6 Oct 2025; US federal agencies must fix it by 27 Oct 2025.
Real-world risk
8.0/ 10High
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Google)
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
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux KernelCommon | >= 2.6.19-rc1, < unspecified | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T5: Exploited in the wild (× 1.00)
On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited
- On CISA’s Known Exploited Vulnerabilities list
- Exploit-DB entry (link)
- Metasploit module (link)
- CISA SSVC: exploitation active
EPSS 78.7% chance of exploitation in 30 days (percentile 100), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.180
- Threat T5: Exploited in the wild1.000
- 10 × impact 1 × prerequisites 0.18 × threat 11.800
- Exploited in the wild: attackers have already met the prerequisites, so they count only by their square root4.243
- Exploited in the wild: at least 88.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 7 Jul 2021 Published
- 6 Oct 2025 Added to CISA KEV
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-787
References
- https://github.com/google/security-research/security/advisories/GHSA-xxx5-8mvq-3528misc, x-transferred
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=9fa492cdc160cd27ce1046cb36f47d3b2b1efa21misc, x-transferred
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=b29c457a6511435960115c0f548c4360d5f4801dmisc, x-transferred
- http://packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-Heap-Out-Of-Bounds-Write.htmlmisc, x-transferred
- https://security.netapp.com/advisory/ntap-20210805-0010/vendor-advisory, x-transferred
- http://packetstormsecurity.com/files/163878/Kernel-Live-Patch-Security-Notice-LSN-0080-1.htmlmisc, x-transferred
- http://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Notice-LSN-0081-1.htmlmisc, x-transferred
- http://packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-Out-Of-Bounds-Write-Privilege-Escalation.htmlmisc, x-transferred
- http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.htmlmisc, x-transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22555government-resource
- CVE-2021-22555 on CVE.org