CVEfocus › CVE database › CVE-2022-1304

CVE-2022-1304

CVSS 7.8 HighEPSS 1.5% (higher than 74% of CVEs)Published 2022-04-14Updated 2026-10-14Assigner: redhat

An out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5. This issue leads to a segmentation fault and possibly arbitrary code execution via a specially crafted filesystem.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has 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

38Fixed
2Fix pending
15Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04e2fsprogsFixed1.46.5-2ubuntu1.1UBUNTU-CVE-2022-1304
Ubuntu 20.04e2fsprogsFixed1.45.5-2ubuntu1.1UBUNTU-CVE-2022-1304
Ubuntu 18.04e2fsprogsFixed1.44.1-1ubuntu1.4UBUNTU-CVE-2022-1304
Ubuntu 16.04e2fsprogsFix pending1.42.13-1ubuntu1.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-1304
Ubuntu 14.04e2fsprogsFix pending1.42.9-3ubuntu1.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2022-1304
Debian 14e2fsprogsFixed1.46.6~rc1-1DEBIAN-CVE-2022-1304
Debian 13e2fsprogsFixed1.46.6~rc1-1DEBIAN-CVE-2022-1304
Debian 12e2fsprogsFixed1.46.6~rc1-1DEBIAN-CVE-2022-1304
Red Hat Enterprise Linux 9e2fsprogsFixed0:1.46.5-3.el9RHSA-2022:8361
Red Hat Enterprise Linux 9e2fsprogs-develFixed0:1.46.5-3.el9RHSA-2022:8361
Red Hat Enterprise Linux 9e2fsprogs-libsFixed0:1.46.5-3.el9RHSA-2022:8361
Red Hat Enterprise Linux 9libcom_errFixed0:1.46.5-3.el9RHSA-2022:8361
Red Hat Enterprise Linux 9libcom_err-develFixed0:1.46.5-3.el9RHSA-2022:8361
Red Hat Enterprise Linux 9libssFixed0:1.46.5-3.el9RHSA-2022:8361
Red Hat Enterprise Linux 8e2fsprogsFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 8e2fsprogs-develFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 8e2fsprogs-libsFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 8libcom_errFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 8libcom_err-develFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 8libssFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 8libss-develFixed0:1.45.6-5.el8RHSA-2022:7720
Red Hat Enterprise Linux 7e2fsprogsWill not fix
Out of support scope
Red Hat Enterprise Linux 7e2fsprogs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7e2fsprogs-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7e2fsprogs-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcom_errWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcom_err-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libssWill not fix
Out of support scope
Red Hat Enterprise Linux 7libss-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6e2fsprogsWill not fix
Out of support scope
Red Hat Enterprise Linux 6e2fsprogs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6e2fsprogs-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6libcom_errWill not fix
Out of support scope
Red Hat Enterprise Linux 6libcom_err-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssWill not fix
Out of support scope
Red Hat Enterprise Linux 6libss-develWill not fix
Out of support scope
AlmaLinux 9e2fsprogsFixed1.46.5-3.el9ALSA-2022:8361
AlmaLinux 9e2fsprogs-develFixed1.46.5-3.el9ALSA-2022:8361
AlmaLinux 9e2fsprogs-libsFixed1.46.5-3.el9ALSA-2022:8361
AlmaLinux 9libcom_errFixed1.46.5-3.el9ALSA-2022:8361
AlmaLinux 9libcom_err-develFixed1.46.5-3.el9ALSA-2022:8361
AlmaLinux 9libssFixed1.46.5-3.el9ALSA-2022:8361
AlmaLinux 8e2fsprogsFixed1.45.6-5.el8ALSA-2022:7720
AlmaLinux 8e2fsprogs-develFixed1.45.6-5.el8ALSA-2022:7720
AlmaLinux 8e2fsprogs-libsFixed1.45.6-5.el8ALSA-2022:7720
AlmaLinux 8libcom_errFixed1.45.6-5.el8ALSA-2022:7720
AlmaLinux 8libcom_err-develFixed1.45.6-5.el8ALSA-2022:7720
AlmaLinux 8libssFixed1.45.6-5.el8ALSA-2022:7720
AlmaLinux 8libss-develFixed1.45.6-5.el8ALSA-2022:7720
Rocky Linux 9e2fsprogsFixed0:1.46.5-3.el9RLSA-2022:8361
Rocky Linux 8e2fsprogsFixed0:1.45.6-5.el8RLSA-2022:7720
Alpine Linux 3.17e2fsprogsFixed1.46.6-r0ALPINE-CVE-2022-1304
Alpine Linux 3.16e2fsprogsFixed1.46.6-r0ALPINE-CVE-2022-1304
Alpine Linux 3.15e2fsprogsFixed1.46.6-r0ALPINE-CVE-2022-1304
Alpine Linux 3.14e2fsprogsFixed1.46.2-r1ALPINE-CVE-2022-1304

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.

References

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.