# CVE-2025-9165: LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak

- Severity: Low 2.0 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-08-19T20:02:13.694Z
- Modified: 2026-06-17T10:08:27.157Z
- Weaknesses: CWE-401, CWE-404
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- LibTIFF: 4.7.0
- libtiff libtiff: 4.7.0

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 1.0 Low `AV:L/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`

## References

- <https://gitlab.com/libtiff/libtiff/-/issues/728> (exploit, issue-tracking, vendor-advisory)
- <https://drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view?usp=sharing> (exploit)
- <https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214> (exploit, issue-tracking, vendor-advisory)
- <https://vuldb.com/?id.320543> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.320543> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.630506> (third-party-advisory, vdb-entry)
- <https://vuldb.com/?submit.630507> (third-party-advisory, vdb-entry)
- <https://gitlab.com/libtiff/libtiff/-/merge_requests/747> (issue-tracking, patch, vendor-advisory)
- <https://gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7a4e0> (patch)
- <http://www.libtiff.org/> (product)

## Sources

- CVE List: [CVE-2025-9165](https://www.cve.org/CVERecord?id=CVE-2025-9165), CVE Terms of Use, modified 2025-10-01
- NVD: [CVE-2025-9165](https://nvd.nist.gov/vuln/detail/CVE-2025-9165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-9165 · Whole record: https://cve.day/CVE-2025-9165.json · Rebuilt by cve.day 2026-11-25T22:59:03.337Z
