LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-401.
Summary
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".
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | LibTIFF | 4.7.0 | — | No fix listed | CNA |
- LibTIFF Vendor— Affected 4.7.0 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-9165
- 2026-10-03 Alias added: GHSA-64vg-6m9q-6vr3
References
Exploit 3
Patch 2
Other 1
More Libtiff vulnerabilities
- TI-2023-28739 Libtiff: segment fault in libtiff in tiffreadrgbatileext() leading to denial of service CVSS 3.1HIGH 7.5
- TI-2023-10746 libtiff 4.5.0 is vulnerable to Buffer Overflow via extractContigSamplesBytes() at /libtiff/tools/tiffcrop.c:3215. CVSS 3.1HIGH 8.8
- TI-2022-03639 LibTIFF tif_getimage.c TIFFReadRGBATileExt integer overflow CVSS 3.1HIGH 8.8
- TI-2023-05765 Libtiff: out-of-memory in tiffopen via a craft file CVSS 3.1MEDIUM 6.5
- TI-2022-03286 Out-of-bounds write in libtiff CVSS 3.1HIGH 7.7
- TI-2006-03352 Multiple stack-based buffer overflows in the TIFF library (libtiff) before 3.8.2, as used… CVSS 2.0HIGH 7.5
Sources
- CVE-2025-9165 · CVE Program
- CVE-2025-9165 · NVD
- FIRST EPSS
- GHSA-64vg-6m9q-6vr3 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-9165 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences