Home / LibTIFF / LibTIFF / CVE-2025-9165
CVE-2025-9165: is it exploited, and which versions of LibTIFF are affected and fixed?
CVE-2025-9165 is a memory leak vulnerability in LibTIFF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: LibTIFF 4.7.0 (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.0, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:18 UTC.
Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.
What is CVE-2025-9165?
LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak
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".
From the CVE record by VulDB, last updated October 1, 2025, 15:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| LibTIFF | 4.7.0 |
As the CVE record by VulDB states it, last updated October 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libtiff | libtiff | 4.7.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 10:08 UTC.
How severe is CVE-2025-9165?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.0 | CVSS 4.0 | 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 |
| Low 2.5 | CVSS 3.1 | 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 |
| Low 2.5 | CVSS 3.0 | 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 |
| Low 1.0 | CVSS 2.0 | AV:L/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-9165 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 19, 2025)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 20.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-401 Missing Release of Memory after Effective Lifetime
- CWE-404 Improper Resource Shutdown or Release
Where are the vendor advisories and references?
- VDB-320543 | LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak vdb-entry, technical-description
- VDB-320543 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #630506 | libtiff tiffcmp 4.7.0+ (latest master branch) Memory Leak third-party-advisory
- Submit #630507 | libtiff tiffcmp 4.7.0+ (latest master branch) Memory Leak (Duplicate) third-party-advisory
- https://gitlab.com/libtiff/libtiff/-/issues/728 issue-tracking
- https://gitlab.com/libtiff/libtiff/-/merge_requests/747 patch
- https://drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view?usp=sharing exploit
- https://gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7a4e0 patch
- http://www.libtiff.org/ product
- https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214
Who found and reported it?
- HeureuxBuilding (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 19, 2025
- Published
- August 19, 2025, 20:02 UTC
- CVE record updated
- October 1, 2025, 15:25 UTC by VulDB
- NVD
- Modified, last modified June 17, 2026, 10:08 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect LibTIFF?
- Feb 23, 2026CVE-2025-61145 Libtiff: double free
- Feb 23, 2026CVE-2025-61144 Libtiff: memory corruption (buffer overflow)
- Feb 23, 2026CVE-2025-61143 Libtiff: NULL pointer dereference (crash)
- Aug 14, 2025CVE-2025-8961 LibTIFF: memory corruption (buffer overflow)
- Aug 11, 2025CVE-2025-8851 LibTIFF: stack buffer overflow
- Aug 4, 2025CVE-2025-8534 libtiff: NULL pointer dereference (crash)
- Aug 1, 2025CVE-2024-13978 LibTIFF: NULL pointer dereference (crash)
- Jul 26, 2025CVE-2025-8177 LibTIFF: buffer overflow
Questions about CVE-2025-9165
Is CVE-2025-9165 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of LibTIFF are affected by CVE-2025-9165?
LibTIFF 4.7.0, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2025-9165?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-9165?
Low (2.0, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2025-9165?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.