Skip to content
OpenAdvisories
Low · 2.5 CVE-2025-9165 EUVD-2025-25249GHSA-64vg-6m9q-6vr3

LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak

Published Aug 19, 2025 · Updated Oct 1, 2025 · Assigned by VulDB

Description

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".

Affected products

VendorProductAffectedFixed
— LibTIFF 4.7.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.7.0-4 —
Debian 13 tiff 4.7.0-3+deb13u1 —
Debian 12 tiff No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 texmaker +1 No fix yet —
Ubuntu 26.04 LTS texmaker No fix yet —
Ubuntu 26.04 LTS tiff 4.7.0-3ubuntu3 —
Ubuntu 25.10 texmaker +1 No fix yet —
Ubuntu 25.10 tiff 4.7.0-3ubuntu3 —
Ubuntu 24.04 LTS tiff 4.5.1+git230720-4ubuntu2.4 USN-7783-1
Ubuntu 22.04 LTS neuron No fix yet —
Ubuntu 22.04 LTS tiff 4.3.0-6ubuntu0.12 USN-7783-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS neuron No fix yet —
Ubuntu 18.04 LTS neuron No fix yet —
Ubuntu 16.04 LTS texmaker No fix yet —
Ubuntu Pro 26.04 LTS qtwebengine-opensource-src No fix yet —
Ubuntu Pro 24.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 22.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 20.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 20.04 LTS tiff 4.1.0+git191117-2ubuntu0.20.04.14+esm2 USN-7783-1
Ubuntu Pro 18.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 18.04 LTS tiff 4.0.9-5ubuntu0.10+esm9 USN-7783-1
Ubuntu Pro 16.04 LTS gdal No fix yet —
Ubuntu Pro 16.04 LTS tiff 4.0.6-1ubuntu0.8+esm19 USN-7783-1
Ubuntu Pro 14.04 LTS gdal No fix yet —
Ubuntu Pro 14.04 LTS tiff 4.0.3-7ubuntu0.11+esm16 USN-7783-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 tiff 4.0.9-150000.45.55.1 SUSE-SU-2025:03348-1, SUSE-SU-2025:03345-1
SLES 15 SP6 tiff 4.0.9-150000.45.55.1 SUSE-SU-2025:03348-1, SUSE-SU-2025:03345-1
SLES 12 SP5 tiff 4.0.9-44.94.1 SUSE-SU-2025:03346-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 tiff 4.7.1-160000.1.1 SUSE-SU-2025:21009-1
SLES 16.0 tiff 4.7.1-160000.1.1 SUSE-SU-2025:21009-1
SLE Micro 6.2 tiff 4.7.1-160000.1.1 SUSE-SU-2025:21032-1
SLE Micro 6.1 tiff 4.7.1-slfo.1.1_1.1 SUSE-SU-2025:20971-1
SLE Micro 6.0 tiff 4.7.1-1.1 SUSE-SU-2025:21037-1
SLE Micro 5.5 tiff 4.0.9-150000.45.55.1 SUSE-SU-2025:03345-1
SLE Micro 5.4 tiff 4.0.9-150000.45.55.1 SUSE-SU-2025:03345-1
SLE Micro 5.3 tiff 4.0.9-150000.45.55.1 SUSE-SU-2025:03345-1
SLE Micro 5.2 tiff 4.0.9-150000.45.55.1 SUSE-SU-2025:03345-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tiff 4.7.0-8.1 openSUSE-SU-2025:15486-1
openSUSE Tumbleweed tkimg 2.1.0-1.1 openSUSE-SU-2025:15556-1
openSUSE Leap 16.0 tiff +1 4.7.1-160000.1.1 openSUSE-SU-2025:20049-1
openSUSE Leap 15.6 tiff 4.7.0-150600.3.18.1 SUSE-SU-2025:03348-1
ReleasePackageFixed inAdvisory
Alpine v3.24 tiff 4.7.1-r0 —
Alpine v3.23 tiff 4.7.1-r0 —
Alpine v3.22 tiff 4.7.1-r0 —
Alpine v3.21 tiff 4.7.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libtiff +3 4.4.0-4.amzn2023.0.22 ALAS2023-2025-1176
Amazon Linux 2 libtiff +3 4.0.3-35.amzn2.0.25 ALAS2-2025-3004

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libtiff 4.6.0-8 —
Azure Linux 2 (CBL-Mariner) libtiff 4.6.0-8 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling tiff 4.7.0-r6 —

Advisories 16

References