Actively exploited · Published Jul 7, 2021 · Assigned by Google
CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE
High 8.3 Exploited
In plain English
A high-severity out-of-bounds write in Linux Kernel. Attackers are actively exploiting it in the wild (listed by CISA on October 6, 2025). The chance it is exploited in the next 30 days is estimated at 78.7% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
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 agencies must remediate by Oct 27, 2025.
Official 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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-305.12.1.el8_4 | ALSA-2021:3057 |
| Debian:12 | linux | 5.10.38-1 | DEBIAN-CVE-2021-22555 |
| Debian:13 | linux | 5.10.38-1 | DEBIAN-CVE-2021-22555 |
| Debian:14 | linux | 5.10.38-1 | DEBIAN-CVE-2021-22555 |
| Rocky Linux:8 | kernel | 0:4.18.0-305.12.1.el8_4 | RLSA-2021:3057 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-305.12.1.rt7.84.el8_4 | RLSA-2021:3088 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-22555 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-22555 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-22555 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Linux Kernel | 2.6.19-rc1 – before unspecified |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/google/security-research/security/advisories/GHSA-xxx5-8mvq-3528 x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=9fa492cdc160cd27ce1046cb36f47d3b2b1efa21 x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=b29c457a6511435960115c0f548c4360d5f4801d x_refsource_MISC
- http://packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-Heap-Out-Of-Bounds-Write.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210805-0010/ x_refsource_CONFIRM
- http://packetstormsecurity.com/files/163878/Kernel-Live-Patch-Security-Notice-LSN-0080-1.html x_refsource_MISC
- http://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Notice-LSN-0081-1.html x_refsource_MISC
- http://packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-Out-Of-Bounds-Write-Privilege-Escalation.html x_refsource_MISC
- http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.html x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22555 government-resource