Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-3598 EUVD-2022-42962GHSA-4cf4-hqwp-cpp8

LibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, allowing attackers to cause a denia…

Published Oct 21, 2022 · Updated May 7, 2025 · Assigned by GitLab

Description

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.

Affected products

VendorProductAffectedFixed
libtiff libtiff <=4.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tiff 4.4.0-5 —
Debian 13 tiff 4.4.0-5 —
Debian 12 tiff 4.4.0-5 —
Debian 11 tiff 4.2.0-1+deb11u3 DSA-5333-1
Debian 10 tiff 4.1.0+git191117-2~deb10u5 DLA-3278-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS tiff 4.3.0-6ubuntu0.2 USN-5714-1
Ubuntu 20.04 LTS tiff 4.1.0+git191117-2ubuntu0.20.04.6 USN-5714-1
Ubuntu 18.04 LTS tiff 4.0.9-5ubuntu0.8 USN-5714-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS tiff 4.0.6-1ubuntu0.8+esm6 USN-5714-1, USN-5705-1
Ubuntu Pro 14.04 LTS tiff 4.0.3-7ubuntu0.11+esm5 USN-5714-1
ReleasePackageFixed inAdvisory
RHEL 9 libtiff +2 4.4.0-7.el9 RHSA-2023:2340

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libtiff +2 4.4.0-7.el9 ALSA-2023:2340
ReleasePackageFixed inAdvisory
SLES 15 SP4 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES 15 SP3 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES 15 SP2 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES 15 SP1 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES 15 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 tiff 4.0.9-44.62.1 SUSE-SU-2023:0060-1
SLES for SAP 15 SP2 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES for SAP 15 SP1 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES for SAP 15 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLES for SAP 12 SP5 tiff 4.0.9-44.62.1 SUSE-SU-2023:0060-1
SLE Micro 5.3 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLE Micro 5.2 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLE HPC 15 SP2 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLE HPC 15 SP1 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SLE HPC 15 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SUSE Manager Server 4.1 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SUSE Manager Retail Branch Server 4.1 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SUSE Manager Proxy 4.1 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SUSE Enterprise Storage 7 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
SUSE Enterprise Storage 6 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tiff 4.4.0-5.1 openSUSE-SU-2024:12510-1
openSUSE Leap 15.4 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
openSUSE Leap 15.3 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
openSUSE Leap Micro 5.2 tiff 4.0.9-150000.45.22.1 SUSE-SU-2022:4411-1
ReleasePackageFixed inAdvisory
Alpine v3.24 tiff 4.5.0-r0 —
Alpine v3.23 tiff 4.5.0-r0 —
Alpine v3.22 tiff 4.5.0-r0 —
Alpine v3.21 tiff 4.5.0-r0 —
Alpine v3.20 tiff 4.5.0-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 tiff 4.5.0-r0 —
Alpine v3.18 tiff 4.5.0-r0 —
Alpine v3.17 tiff 4.4.0-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libtiff +3 4.4.0-4.amzn2023.0.16 ALAS2023-2024-634, ALAS2023-2023-364
Amazon Linux 2 libtiff +3 4.0.3-35.amzn2.0.28 ALAS2-2026-3130

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libtiff 4.4.0-6 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libtiff +2 4.4.0-7.el9 ELSA-2023-2340

Advisories 15

References