CVE-2025-9165
Fixed in a distro release EPSS <1%CVSS 2.5
A flaw has been found in LibTIFF 4.7.0. This affects the function _TIFFmallocExt/_TIFFCheckRealloc/TIFFHashSetNew/InitCCITTFax3 of the file tools/tiffcmp.c of the component tiffcmp. Executing manipulation can lead to memory leak. The attack is restricted to local execution. This attack is characterized by high complexity. It is indicated that the exploitability is difficult. The exploit has been published and may be used. There is ongoing doubt regarding the real existence of this vulnerability. This patch is called ed141286a37f6e5ddafb5069347ff5d587e7a4e0. It is best practice to apply a patch to resolve this issue. A researcher disputes the security impact of this issue, because "this is a memory leak on a command line tool that is about to exit anyway". In the reply the project maintainer declares this issue as "a simple 'bug' when leaving the command line tool and (...) not a security issue at all".
Products: libtiff
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.21 | tiff | 4.7.1-r0 |
| Alpine 3.22 | tiff | 4.7.1-r0 |
| Alpine 3.23 | tiff | 4.7.1-r0 |
| Alpine 3.24 | tiff | 4.7.1-r0 |
| Amazon Linux 2 | libtiff | 4.0.3-35.amzn2.0.25 |
| Amazon Linux 2 | libtiff-devel | 4.0.3-35.amzn2.0.25 |
| Amazon Linux 2 | libtiff-static | 4.0.3-35.amzn2.0.25 |
| Amazon Linux 2 | libtiff-tools | 4.0.3-35.amzn2.0.25 |
| Amazon Linux 2023 | libtiff | 4.4.0-4.amzn2023.0.22 |
| Amazon Linux 2023 | libtiff-devel | 4.4.0-4.amzn2023.0.22 |
| Amazon Linux 2023 | libtiff-static | 4.4.0-4.amzn2023.0.22 |
| Amazon Linux 2023 | libtiff-tools | 4.4.0-4.amzn2023.0.22 |
| Chainguard | tiff | 4.7.0-r6 |
| Debian 12 | tiff | no fix |
| Debian 13 | tiff | 4.7.0-3+deb13u1 |
| Debian 14 | tiff | 4.7.0-4 |
| SUSE Linux Enterprise Micro 5.2 | tiff | 4.0.9-150000.45.55.1 |
| SUSE Linux Enterprise Micro 5.3 | tiff | 4.0.9-150000.45.55.1 |
| SUSE Linux Enterprise Micro 5.4 | tiff | 4.0.9-150000.45.55.1 |
| SUSE Linux Enterprise Micro 5.5 | tiff | 4.0.9-150000.45.55.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | tiff | 4.7.0-150600.3.18.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | tiff | 4.0.9-150000.45.55.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | tiff | 4.7.0-150600.3.18.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | tiff | 4.0.9-150000.45.55.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | tiff | 4.7.0-150600.3.18.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | tiff | 4.7.0-150600.3.18.1 |
| SUSE Linux Enterprise Server 16.0 | tiff | 4.7.1-160000.1.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | tiff | 4.0.9-44.94.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | tiff | 4.7.1-160000.1.1 |
| SUSE Linux Micro 6.0 | tiff | 4.7.1-1.1 |
| SUSE Linux Micro 6.1 | tiff | 4.7.1-slfo.1.1_1.1 |
| SUSE Linux Micro 6.2 | tiff | 4.7.1-160000.1.1 |
| Ubuntu 16.04 LTS | texmaker | no fix |
| Ubuntu 18.04 LTS | neuron | no fix |
| Ubuntu 20.04 LTS | neuron | no fix |
| Ubuntu 22.04 LTS | neuron | no fix |
| Ubuntu 22.04 LTS | tiff | 4.3.0-6ubuntu0.12 |
| Ubuntu 24.04 LTS | tiff | 4.5.1+git230720-4ubuntu2.4 |
| Ubuntu 25.10 | qtwebengine-opensource-src | no fix |
| Ubuntu 25.10 | texmaker | no fix |
| Ubuntu 25.10 | tiff | 4.7.0-3ubuntu3 |
| Ubuntu 26.04 LTS | texmaker | no fix |
| Ubuntu 26.04 LTS | tiff | 4.7.0-3ubuntu3 |
| Ubuntu 26.10 | qtwebengine-opensource-src | no fix |
| Ubuntu 26.10 | texmaker | no fix |
| Ubuntu Pro 14.04 LTS | gdal | no fix |
| Ubuntu Pro 14.04 LTS | tiff | 4.0.3-7ubuntu0.11+esm16 |
| Ubuntu Pro 16.04 LTS | gdal | no fix |
| Ubuntu Pro 16.04 LTS | tiff | 4.0.6-1ubuntu0.8+esm19 |
| Ubuntu Pro 18.04 LTS | qtwebengine-opensource-src | no fix |
| Ubuntu Pro 18.04 LTS | texmaker | no fix |
| Ubuntu Pro 18.04 LTS | tiff | 4.0.9-5ubuntu0.10+esm9 |
| Ubuntu Pro 20.04 LTS | qtwebengine-opensource-src | no fix |
| Ubuntu Pro 20.04 LTS | texmaker | no fix |
| Ubuntu Pro 20.04 LTS | tiff | 4.1.0+git191117-2ubuntu0.20.04.14+esm2 |
| Ubuntu Pro 22.04 LTS | qtwebengine-opensource-src | no fix |
| Ubuntu Pro 22.04 LTS | texmaker | no fix |
| Ubuntu Pro 24.04 LTS | qtwebengine-opensource-src | no fix |
| Ubuntu Pro 24.04 LTS | texmaker | no fix |
| Ubuntu Pro 26.04 LTS | qtwebengine-opensource-src | no fix |
| Wolfi | tiff | 4.7.0-r6 |
| openSUSE Leap 15.6 | tiff | 4.7.0-150600.3.18.1 |
| openSUSE Leap 16.0 | tiff | 4.7.1-160000.1.1 |
| openSUSE Leap 16.0 | tiff-man | 4.7.1-160000.1.1 |
| openSUSE Tumbleweed | tiff | 4.7.0-8.1 |
| openSUSE Tumbleweed | tkimg | 2.1.0-1.1 |