Skip to content
OpenAdvisories
Unscored Public exploit CVE-2022-2869 EUVD-2022-35103GHSA-m98c-rvx4-4xmr

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An a…

Published Aug 17, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.

Affected products

VendorProductAffectedFixed
— libtiff libtiff 4.4.0rc1 —

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~rc1-1 —
Debian 13 tiff 4.4.0~rc1-1 —
Debian 12 tiff 4.4.0~rc1-1 —
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+esm3 USN-5714-1, USN-5604-1
Ubuntu Pro 14.04 LTS tiff 4.0.3-7ubuntu0.11+esm3 USN-5714-1, USN-5604-1
ReleasePackageFixed inAdvisory
RHEL 8 libtiff +2 4.0.9-26.el8_7 RHSA-2023:0095

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libtiff +2 4.0.9-26.el8_7 ALSA-2023:0095

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libtiff 4.0.9-26.el8_7 RLSA-2023:0095
ReleasePackageFixed inAdvisory
SLES 15 SP4 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES 15 SP3 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES 15 SP2 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES 15 SP1 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES 15 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SLES 12 SP4 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SLES 12 SP3 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SLES 12 SP2 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SLES for SAP 15 SP2 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES for SAP 15 SP1 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES for SAP 15 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLES for SAP 12 SP5 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SLES for SAP 12 SP4 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SLE Micro 5.3 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLE Micro 5.2 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLE HPC 15 SP2 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLE HPC 15 SP1 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SLE HPC 15 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SUSE OpenStack Cloud Crowbar 9 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SUSE OpenStack Cloud 9 tiff 4.0.9-44.56.1 SUSE-SU-2022:3679-1
SUSE Manager Server 4.1 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SUSE Manager Retail Branch Server 4.1 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SUSE Manager Proxy 4.1 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SUSE Enterprise Storage 7 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
SUSE Enterprise Storage 6 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tiff 4.6.0-2.1 openSUSE-SU-2024:13381-1
openSUSE Leap 15.4 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
openSUSE Leap 15.3 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 tiff 4.0.9-150000.45.16.1 SUSE-SU-2022:3690-1
ReleasePackageFixed inAdvisory
Alpine v3.24 tiff 4.4.0-r0 —
Alpine v3.23 tiff 4.4.0-r0 —
Alpine v3.22 tiff 4.4.0-r0 —
Alpine v3.21 tiff 4.4.0-r0 —
Alpine v3.20 tiff 4.4.0-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 tiff 4.4.0-r0 —
Alpine v3.18 tiff 4.4.0-r0 —
Alpine v3.17 tiff 4.4.0-r0 —
Alpine v3.16 tiff 4.4.0-r0 —
Alpine v3.15 tiff 4.4.0-r0 —
Alpine v3.14 tiff 4.4.0-r0 —
Alpine v3.13 tiff 4.4.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libtiff +3 4.4.0-4.amzn2023.0.3 ALAS2023-2023-050
Amazon Linux 2 libtiff +3 4.0.3-35.amzn2.0.3 ALAS2-2022-1872

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libtiff 4.5.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libtiff +2 4.0.9-26.el8_7 ELSA-2023-0095

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 16

References