CVEfocus › CVE database › CVE-2025-9165

CVE-2025-9165LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak

CVSS 2.5 LowEPSS 0.3% (higher than 15% of CVEs)Published 2025-08-19Updated 2025-10-01Assigner: VulDB

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

CWE-401CWE-404

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have 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

10Fixed
43Fix pending
2Under investigation
3Will not fix
4Not affected

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 26.10qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2025-9165
Ubuntu 26.10texmakerFix pendingUBUNTU-CVE-2025-9165
Ubuntu 26.04neuronNot affected
vulnerable_code_not_present
Ubuntu 26.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2025-9165
Ubuntu 26.04texmakerUnder investigationUBUNTU-CVE-2025-9165
Ubuntu 26.04tiffFixed4.7.0-3ubuntu3UBUNTU-CVE-2025-9165
Ubuntu 25.10gdalNot affected
vulnerable_code_not_present
Ubuntu 25.10neuronNot affected
vulnerable_code_not_present
Ubuntu 25.10qtwebengine-opensource-srcWill not fix
texmaker added an embedded copy of libtiff in bionic This is a memory leak in a command line tool, setting priority to low
UBUNTU-CVE-2025-9165
Ubuntu 25.10texmakerWill not fix
texmaker added an embedded copy of libtiff in bionic This is a memory leak in a command line tool, setting priority to low
UBUNTU-CVE-2025-9165
Ubuntu 25.10tiffFixed4.7.0-3ubuntu3UBUNTU-CVE-2025-9165
Ubuntu 24.04neuronNot affected
vulnerable_code_not_present
Ubuntu 24.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2025-9165
Ubuntu 24.04texmakerFix pendingUBUNTU-CVE-2025-9165
Ubuntu 24.04tiffFixed4.5.1+git230720-4ubuntu2.4UBUNTU-CVE-2025-9165
Ubuntu 22.04neuronUnder investigationUBUNTU-CVE-2025-9165
Ubuntu 22.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2025-9165
Ubuntu 22.04texmakerFix pendingUBUNTU-CVE-2025-9165
Ubuntu 22.04tiffFixed4.3.0-6ubuntu0.12UBUNTU-CVE-2025-9165
Ubuntu 20.04neuronFix pendingUBUNTU-CVE-2025-9165
Ubuntu 20.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2025-9165
Ubuntu 20.04texmakerFix pendingUBUNTU-CVE-2025-9165
Ubuntu 20.04tiffFix pending4.1.0+git191117-2ubuntu0.20.04.14+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-9165
Ubuntu 18.04neuronFix pendingUBUNTU-CVE-2025-9165
Ubuntu 18.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2025-9165
Ubuntu 18.04texmakerFix pendingUBUNTU-CVE-2025-9165
Ubuntu 18.04tiffFix pending4.0.9-5ubuntu0.10+esm9 (Ubuntu Pro)UBUNTU-CVE-2025-9165
Ubuntu 16.04gdalFix pendingUBUNTU-CVE-2025-9165
Ubuntu 16.04texmakerFix pendingUBUNTU-CVE-2025-9165
Ubuntu 16.04tiffFix pending4.0.6-1ubuntu0.8+esm19 (Ubuntu Pro)UBUNTU-CVE-2025-9165
Ubuntu 14.04gdalFix pendingUBUNTU-CVE-2025-9165
Ubuntu 14.04tiffFix pending4.0.3-7ubuntu0.11+esm16 (Ubuntu Pro)UBUNTU-CVE-2025-9165
Debian 14tiffFixed4.7.0-4DEBIAN-CVE-2025-9165
Debian 13tiffFixed4.7.0-3+deb13u1DEBIAN-CVE-2025-9165
Debian 12tiffWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-9165
Red Hat Enterprise Linux 10libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 10libtiff-develFix pending
Fix deferred
Red Hat Enterprise Linux 10libtiff-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 9libtiff-develFix pending
Fix deferred
Red Hat Enterprise Linux 9libtiff-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 8compat-libtiff3Fix pending
Fix deferred
Red Hat Enterprise Linux 8libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 8libtiff-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libtiff-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-libtiff-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-libtiff-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7compat-libtiff3Fix pending
Fix deferred
Red Hat Enterprise Linux 7libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 7libtiff-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libtiff-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7libtiff-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 6libtiffFix pending
Fix deferred
Red Hat Enterprise Linux 6libtiff-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libtiff-staticFix pending
Fix deferred
Alpine Linux 3.24tiffFixed4.7.1-r0ALPINE-CVE-2025-9165
Alpine Linux 3.23tiffFixed4.7.1-r0ALPINE-CVE-2025-9165
Alpine Linux 3.22tiffFixed4.7.1-r0ALPINE-CVE-2025-9165
Alpine Linux 3.21tiffFixed4.7.1-r0ALPINE-CVE-2025-9165

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.