CVEfocus › CVE database › CVE-2022-3598

CVE-2022-3598

CVSS 5.5 MediumEPSS 1.3% (higher than 70% of CVEs)Published 2022-10-21Updated 2025-05-07Assigner: GitLab

LibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, allowing 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 cfbb883b.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, 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

20Fixed
2Fix pending
12Will 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.2UBUNTU-CVE-2022-3598
Ubuntu 20.04tiffFixed4.1.0+git191117-2ubuntu0.20.04.6UBUNTU-CVE-2022-3598
Ubuntu 18.04tiffFixed4.0.9-5ubuntu0.8UBUNTU-CVE-2022-3598
Ubuntu 16.04tiffFix pending4.0.6-1ubuntu0.8+esm6 (Ubuntu Pro)UBUNTU-CVE-2022-3598
Ubuntu 14.04tiffFix pending4.0.3-7ubuntu0.11+esm5 (Ubuntu Pro)UBUNTU-CVE-2022-3598
Debian 14tiffFixed4.4.0-5DEBIAN-CVE-2022-3598
Debian 13tiffFixed4.4.0-5DEBIAN-CVE-2022-3598
Debian 12tiffFixed4.4.0-5DEBIAN-CVE-2022-3598
Red Hat Enterprise Linux 9libtiffFixed0:4.4.0-7.el9RHSA-2023:2340
Red Hat Enterprise Linux 9libtiff-develFixed0:4.4.0-7.el9RHSA-2023:2340
Red Hat Enterprise Linux 9libtiff-toolsFixed0:4.4.0-7.el9RHSA-2023:2340
Red Hat Enterprise Linux 8compat-libtiff3Will not fix
Will not fix
Red Hat Enterprise Linux 8libtiffWill not fix
Will not fix
Red Hat Enterprise Linux 8libtiff-develWill not fix
Will not fix
Red Hat Enterprise Linux 8libtiff-toolsWill not fix
Will not fix
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-7.el9ALSA-2023:2340
AlmaLinux 9libtiff-develFixed4.4.0-7.el9ALSA-2023:2340
AlmaLinux 9libtiff-toolsFixed4.4.0-7.el9ALSA-2023:2340
Alpine Linux 3.24tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.23tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.22tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.21tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.20tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.19tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.18tiffFixed4.5.0-r0ALPINE-CVE-2022-3598
Alpine Linux 3.17tiffFixed4.4.0-r2ALPINE-CVE-2022-3598

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.

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.