CVE-2025-9165
LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak
- State
- Published
- Severity
- 2.0 Low
- Published
- Aug 19, 2025
- Updated
- Oct 1, 2025
- Reserved
- Aug 19, 2025
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".
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.0 Low | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 2.5 Low | 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 | VulDB |
| 3.0 | 2.5 Low | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 1.0 Low | AV:L/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LibTIFFn/a |
|
References
- VDB-320543 | LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leakvdb-entrytechnical-description
- VDB-320543 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #630506 | libtiff tiffcmp 4.7.0+ (latest master branch) Memory Leakthird-party-advisory
- Submit #630507 | libtiff tiffcmp 4.7.0+ (latest master branch) Memory Leak (Duplicate)third-party-advisory
- https://gitlab.com/libtiff/libtiff/-/issues/728issue-tracking
- https://gitlab.com/libtiff/libtiff/-/merge_requests/747patch
- https://drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view?usp=sharingexploit
- https://gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7a4e0patch
- http://www.libtiff.org/product
- https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.