Vulnerability 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".
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libtiff | Libtiff | 4.7.0 |
Related Weaknesses (CWE)
References
- http://www.libtiff.org/Product
- https://drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view?usp=shariExploit
- https://gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7Patch
- https://gitlab.com/libtiff/libtiff/-/issues/728ExploitIssue TrackingVendor Advisory
- https://gitlab.com/libtiff/libtiff/-/merge_requests/747Issue TrackingPatchVendor Advisory
- https://vuldb.com/?ctiid.320543Permissions RequiredVDB Entry
- https://vuldb.com/?id.320543Third Party AdvisoryVDB Entry
- https://vuldb.com/?submit.630506Third Party AdvisoryVDB Entry
- https://vuldb.com/?submit.630507Third Party AdvisoryVDB Entry
- https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214ExploitIssue TrackingVendor Advisory
FAQ
What is CVE-2025-9165?
CVE-2025-9165 is a vulnerability with a CVSS score of 2.5 (LOW). 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 manipula...
How severe is CVE-2025-9165?
CVE-2025-9165 has been rated LOW with a CVSS base score of 2.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-9165?
Check the references section above for vendor advisories and patch information. Affected products include: Libtiff Libtiff.