CVE-2025-9165

LOW

LibTIFF 4.7.0 - Memory Leak in tiffcmp

Title source: llm
STIX 2.1

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

References (10)

Core 10
Core References
Third Party Advisory, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.320543
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.320543
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.630506
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.630507
Exploit, Issue Tracking, Vendor Advisory issue-tracking
https://gitlab.com/libtiff/libtiff/-/issues/728
Issue Tracking, Patch, Vendor Advisory patch
https://gitlab.com/libtiff/libtiff/-/merge_requests/747
Product product
http://www.libtiff.org/
Exploit, Issue Tracking, Vendor Advisory
https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214

Scores

CVSS v3 2.5
EPSS 0.0020
EPSS Percentile 9.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401 CWE-404
Status published
Products (1)
libtiff/libtiff 4.7.0
Published Aug 19, 2025
Tracked Since Feb 18, 2026