CVE-2026-71220Gfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked di_height in gfs2_edit
A stack out-of-bounds write vulnerability was found in gfs2-utils. In gfs2_edit, the di_height field from on-disk inode metadata is used as an array index without bounds checking, causing a stack buffer overflow that may lead to arbitrary code execution when processing crafted GFS2 filesystem images.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71220 | |
| Ubuntu 26.04 | gfs2-utils | Under investigation | UBUNTU-CVE-2026-71220 | |
| Ubuntu 24.04 | gfs2-utils | Under investigation | UBUNTU-CVE-2026-71220 | |
| Ubuntu 22.04 | gfs2-utils | Under investigation | UBUNTU-CVE-2026-71220 | |
| Ubuntu 20.04 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71220 | |
| Ubuntu 18.04 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71220 | |
| Ubuntu 16.04 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71220 | |
| Debian 14 | gfs2-utils | Fixed | 3.6.1-2 | DEBIAN-CVE-2026-71220 |
| Debian 13 | gfs2-utils | Fix pending | DEBIAN-CVE-2026-71220 | |
| Debian 12 | gfs2-utils | Fix pending | DEBIAN-CVE-2026-71220 | |
| Red Hat Enterprise Linux 9 | gfs2-utils | Fixed | 0:3.5.1-4.el9_9 | RHSA-2026:102183 |
| Red Hat Enterprise Linux 8 | gfs2-utils | Fixed | 0:3.2.0-14.el8_10 | RHSA-2026:100509 |
| Red Hat Enterprise Linux 7 | gfs2-utils | Fix pending Affected | ||
| AlmaLinux 8 | gfs2-utils | Fixed | 3.2.0-14.el8_10 | ALSA-2026:100509 |
| Rocky Linux 9 | gfs2-utils | Fixed | 0:3.5.1-4.el9_9 | RLSA-2026:102183 |
| Rocky Linux 8 | gfs2-utils | Fixed | 0:3.2.0-14.el8_10 | RLSA-2026:100509 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.8 Extended Update Support
- Red Hat Enterprise Linux 7
Workaround: Do not run gfs2_edit on untrusted or potentially compromised GFS2 filesystem images. Run gfs2-utils tools in a containerized or VM-isolated environment when processing untrusted images. Disable automatic fsck at boot for GFS2 filesystems until patches are applied by setting fs_passno to 0 in /etc/fstab.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:100509 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:100510 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:102183 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:100509
- https://access.redhat.com/errata/RHSA-2026:100510
- https://access.redhat.com/errata/RHSA-2026:102183
- https://access.redhat.com/security/cve/CVE-2026-71220
- https://bugzilla.redhat.com/show_bug.cgi?id=2511398
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.