Cloudanix VulnDB

CVE-2025-9165

Low · 2.5

CVSS

2.5

EPSS

0.2%

Published

Aug 19, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A minor memory cleanup problem exists in one of the library's command-line tools, but it only happens when the program is already shutting down and cannot be used to harm systems from afar.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
High
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Memory leak triggered by local manipulation of specific allocation and hash functions in the tiffcmp command-line utility.

Why it matters to the business

Negligible operational effect; the issue occurs only in a local command-line tool that is about to exit and carries no confirmed remote or persistent risk.

How an attack unfolds

An attacker with local access would need to craft a specific input that reaches the affected allocation paths in tiffcmp, but the high complexity, disputed security relevance, and maintainer statement indicate no practical end-to-end attack is viable.

How to fix it

Update to the commit ed141286a37f6e5ddafb5069347ff5d587e7a4e0 or a later release that contains it.

How to confirm the fix worked

Verify the installed source contains commit ed141286a37f6e5ddafb5069347ff5d587e7a4e0 or run the patched tiffcmp binary against known test cases.

Typical attack path

  1. Obtain local access to a system with the vulnerable tiffcmp binary
  2. Supply a crafted TIFF input to trigger the allocation functions
  3. Observe memory not being freed before process termination

How to detect it

Examine local process logs or memory profiling output around tiffcmp executions for repeated allocation without corresponding frees immediately prior to exit.

What your security team should do

  • Apply the referenced commit during the next routine maintenance window
  • Treat the finding as low priority given the disputed security impact and local-only scope
  • Monitor upstream LibTIFF releases for any follow-up statements

The record

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

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.21 tiff 0 4.7.1-r0
Alpine:v3.22 tiff 0 4.7.1-r0
Chainguard tiff 0 4.7.0-r6
Chainguard tiff-dev 0 4.7.0-r6
Chainguard tiff-doc 0 4.7.0-r6
Debian:11 tiff 0 No fix
Debian:12 tiff 0 No fix
Debian:13 tiff 0 No fix
Debian:14 tiff 0 No fix
Mageia:9 libtiff 0 4.5.1-1.6.mga9
SUSE:Linux Enterprise Module for Basesystem 15 SP6 tiff 0 4.7.0-150600.3.18.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7 tiff 0 4.7.0-150600.3.18.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 tiff 0 4.7.0-150600.3.18.1
SUSE:Linux Enterprise Module for Package Hub 15 SP7 tiff 0 4.7.0-150600.3.18.1
Wolfi tiff 0 4.7.0-r6
Wolfi tiff-dev 0 4.7.0-r6
Wolfi tiff-doc 0 4.7.0-r6
openSUSE:Leap 15.6 tiff 0 4.7.0-150600.3.18.1
openSUSE:Leap 16.0 tiff 0 4.7.1-160000.1.1
openSUSE:Leap 16.0 tiff-man 0 4.7.1-160000.1.1
openSUSE:Tumbleweed tiff 0 4.7.0-8.1
openSUSE:Tumbleweed tkimg 0 2.1.0-1.1

Related vulnerabilities