LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak

Summary

CVECVE-2025-9165
StatePUBLISHED
AssignerVulDB
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-08-19 20:15:37 UTC
Updated2026-04-29 01:00:01 UTC
DescriptionA 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".

Risk And Classification

Primary CVSS: v4.0 1.1 LOW from [email protected]

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-401 | CWE-404 | CWE-401 Memory Leak | CWE-404 Denial of Service


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary1.1LOWCVSS: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/C...
4.0CNADECLARED2LOWCVSS: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
3.1[email protected]Secondary2.5LOWCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
3.1CNADECLARED2.5LOWCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
3.0CNADECLARED2.5LOWCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
2.0[email protected]Secondary1AV:L/AC:H/Au:S/C:N/I:N/A:P
2.0CNADECLARED1AV:L/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libtiff Libtiff 4.7.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na LibTIFF affected 4.7.0 Not specified

References

ReferenceSourceLinkTags
vuldb.com [email protected] vuldb.com Third Party Advisory, VDB Entry
gitlab.com/libtiff/libtiff/-/issues/728 [email protected] gitlab.com Exploit, Issue Tracking, Vendor Advisory
vuldb.com [email protected] vuldb.com Third Party Advisory, VDB Entry
gitlab.com/libtiff/libtiff/-/merge_requests/747 [email protected] gitlab.com Issue Tracking, Patch, Vendor Advisory
drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view [email protected] drive.google.com Exploit
www.libtiff.org [email protected] www.libtiff.org Product
gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7... [email protected] gitlab.com Patch
vuldb.com [email protected] vuldb.com Third Party Advisory, VDB Entry
vuldb.com [email protected] vuldb.com Permissions Required, VDB Entry
gitlab.com/libtiff/libtiff/-/issues/728 af854a3a-2127-422b-91ae-364da2661108 gitlab.com Exploit, Issue Tracking, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: HeureuxBuilding (VulDB User) (en)

Additional Advisory Data

SourceTimeEvent
CNA2025-08-19T00:00:00.000ZAdvisory disclosed
CNA2025-08-19T02:00:00.000ZVulDB entry created
CNA2025-10-01T17:29:54.000ZVulDB entry last update
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report