CVEfocus › CVE database › CVE-2022-2057

CVE-2022-2057

CVSS 5.5 MediumEPSS 1.3% (higher than 71% of CVEs)Published 2022-06-30Updated 2024-08-03Assigner: GitLab

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit f3a5e010.

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

30Fixed
2Fix pending
9Will 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.04tiffFixed4.3.0-6ubuntu0.1UBUNTU-CVE-2022-2057
Ubuntu 20.04tiffFixed4.1.0+git191117-2ubuntu0.20.04.5UBUNTU-CVE-2022-2057
Ubuntu 18.04tiffFixed4.0.9-5ubuntu0.7UBUNTU-CVE-2022-2057
Ubuntu 16.04tiffFix pending4.0.6-1ubuntu0.8+esm4 (Ubuntu Pro)UBUNTU-CVE-2022-2057
Ubuntu 14.04tiffFix pending4.0.3-7ubuntu0.11+esm4 (Ubuntu Pro)UBUNTU-CVE-2022-2057
Debian 14tiffFixed4.4.0-3DEBIAN-CVE-2022-2057
Debian 13tiffFixed4.4.0-3DEBIAN-CVE-2022-2057
Debian 12tiffFixed4.4.0-3DEBIAN-CVE-2022-2057
Red Hat Enterprise Linux 9libtiffFixed0:4.4.0-5.el9_1RHSA-2023:0302
Red Hat Enterprise Linux 9libtiff-develFixed0:4.4.0-5.el9_1RHSA-2023:0302
Red Hat Enterprise Linux 9libtiff-toolsFixed0:4.4.0-5.el9_1RHSA-2023:0302
Red Hat Enterprise Linux 8compat-libtiff3Will not fix
Will not fix
Red Hat Enterprise Linux 8libtiffFixed0:4.0.9-26.el8_7RHSA-2023:0095
Red Hat Enterprise Linux 8libtiff-develFixed0:4.0.9-26.el8_7RHSA-2023:0095
Red Hat Enterprise Linux 8libtiff-toolsFixed0:4.0.9-26.el8_7RHSA-2023:0095
Red Hat Enterprise Linux 7compat-libtiff3Will not fix
Out of support scope
Red Hat Enterprise Linux 7libtiffWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtiff-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtiff-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtiff-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtiffWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtiff-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtiff-staticWill not fix
Out of support scope
AlmaLinux 9libtiffFixed4.4.0-5.el9_1ALSA-2023:0302
AlmaLinux 9libtiff-develFixed4.4.0-5.el9_1ALSA-2023:0302
AlmaLinux 9libtiff-toolsFixed4.4.0-5.el9_1ALSA-2023:0302
AlmaLinux 8libtiffFixed4.0.9-26.el8_7ALSA-2023:0095
AlmaLinux 8libtiff-develFixed4.0.9-26.el8_7ALSA-2023:0095
AlmaLinux 8libtiff-toolsFixed4.0.9-26.el8_7ALSA-2023:0095
Rocky Linux 9libtiffFixed0:4.4.0-5.el9_1RLSA-2023:0302
Rocky Linux 8libtiffFixed0:4.0.9-26.el8_7RLSA-2023:0095
Alpine Linux 3.24tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.23tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.22tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.21tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.20tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.19tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.18tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.17tiffFixed4.4.0-r1ALPINE-CVE-2022-2057
Alpine Linux 3.16tiffFixed4.4.0-r3ALPINE-CVE-2022-2057
Alpine Linux 3.15tiffFixed4.4.0-r3ALPINE-CVE-2022-2057

What the vendor says

As published in the CVE record by GitLab, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.