Vulnerability · Published Aug 19, 2025 · Assigned by VulDB

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

Low 2.5

In plain English

A low-severity memory leak in LibTIFF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.5Low
Exploit odds (30 days)0.2%top 86.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21tiff4.7.1-r0ALPINE-CVE-2025-9165
Alpine:v3.22tiff4.7.1-r0ALPINE-CVE-2025-9165
Alpine:v3.23tiff4.7.1-r0ALPINE-CVE-2025-9165
Alpine:v3.24tiff4.7.1-r0ALPINE-CVE-2025-9165
Debian:12tiffno fix listedDEBIAN-CVE-2025-9165
Debian:13tiff4.7.0-3+deb13u1DEBIAN-CVE-2025-9165
Debian:14tiff4.7.0-4DEBIAN-CVE-2025-9165
Ubuntu:22.04:LTSneuronno fix listedUBUNTU-CVE-2025-9165
Ubuntu:25.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2025-9165
Ubuntu:26.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2025-9165
Ubuntu:25.10texmakerno fix listedUBUNTU-CVE-2025-9165
Ubuntu:26.04:LTStexmakerno fix listedUBUNTU-CVE-2025-9165
Ubuntu:26.10texmakerno fix listedUBUNTU-CVE-2025-9165
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.12USN-7783-1
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.12UBUNTU-CVE-2025-9165
Ubuntu:24.04:LTStiff4.5.1+git230720-4ubuntu2.4UBUNTU-CVE-2025-9165
Ubuntu:24.04:LTStiff4.5.1+git230720-4ubuntu2.4USN-7783-1
Ubuntu:25.10tiff4.7.0-3ubuntu3UBUNTU-CVE-2025-9165
Ubuntu:26.04:LTStiff4.7.0-3ubuntu3UBUNTU-CVE-2025-9165

Affected products (as reported)

VendorProductVersions
n/a LibTIFF 4.7.0

Weakness: CWE-401, CWE-404 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C

References