cve.bz

CVE-2025-9165 libtiff libtiff: Improper Resource Shutdown or Release

1.1 lowExploit referenceEPSS 0.3%Fix available

Low (1.1) in libtiff libtiff. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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".

Severity

CVSS 4.0

1.1 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

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
EPSS
0.3% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-08-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-401 Missing Release of Memory after Effective Lifetime
CWE-404 Improper Resource Shutdown or Release
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-9165 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-9165?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-9165?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-9165 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiff4.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12tiffno fix listedDEBIAN-CVE-2025-9165
Debian13tiff4.7.0-3+deb13u1DEBIAN-CVE-2025-9165
Debian14tiff4.7.0-4DEBIAN-CVE-2025-9165
Ubuntu16.04:LTS, 26.04:LTStexmakerno fix listedUBUNTU-CVE-2025-9165
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSneuronno fix listedUBUNTU-CVE-2025-9165
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.12UBUNTU-CVE-2025-9165 USN-7783-1
Ubuntu24.04:LTStiff4.5.1+git230720-4ubuntu2.4UBUNTU-CVE-2025-9165 USN-7783-1
Ubuntu25.10, 26.04:LTStiff4.7.0-3ubuntu3UBUNTU-CVE-2025-9165
Ubuntu25.10, 26.10, Pro:18.04:LTS and 3 moretexmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2025-9165
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm16UBUNTU-CVE-2025-9165 USN-7783-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSgdalno fix listedUBUNTU-CVE-2025-9165
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm19UBUNTU-CVE-2025-9165 USN-7783-1
UbuntuPro:18.04:LTStiff4.0.9-5ubuntu0.10+esm9UBUNTU-CVE-2025-9165 USN-7783-1
UbuntuPro:20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.14+esm2UBUNTU-CVE-2025-9165 USN-7783-1
UbuntuPro:26.04:LTSqtwebengine-opensource-srcno fix listedUBUNTU-CVE-2025-9165
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 3 moretiff4.0.9-150000.45.55.1SUSE-SU-2025:03345-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 1 moretiff4.7.0-150600.3.18.1SUSE-SU-2025:03348-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tiff4.7.1-160000.1.1SUSE-SU-2025:21009-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5tiff4.0.9-44.94.1SUSE-SU-2025:03346-1
SUSELinux Micro 6.0tiff4.7.1-1.1SUSE-SU-2025:21037-1
SUSELinux Micro 6.1tiff4.7.1-slfo.1.1_1.1SUSE-SU-2025:20971-1
SUSELinux Micro 6.2tiff4.7.1-160000.1.1SUSE-SU-2025:21032-1
openSUSELeap 15.6tiff4.7.0-150600.3.18.1SUSE-SU-2025:03348-1
openSUSELeap 16.0tiff, tiff-man4.7.1-160000.1.1openSUSE-SU-2025:20049-1
openSUSETumbleweedtiff4.7.0-8.1openSUSE-SU-2025:15486-1
openSUSETumbleweedtkimg2.1.0-1.1openSUSE-SU-2025:15556-1
Alpinev3.21, v3.22, v3.23 and 1 moretiff4.7.1-r0ALPINE-CVE-2025-9165
Azure Linux2libtiff4.6.0-8AZL-66542
Azure Linux3libtiff4.6.0-8AZL-66545
Alpaquita23tiff4.4.0-r5BELL-CVE-2025-9165
Alpaquita25, streamtiff4.7.1-r0BELL-CVE-2025-9165
BellSoft Hardened Containers23tiff4.4.0-r5BELL-CVE-2025-9165
BellSoft Hardened Containers25, streamtiff4.7.1-r0BELL-CVE-2025-9165

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libtiffFix deferred
Red Hat Enterprise Linux 6libtiffFix deferred
Red Hat Enterprise Linux 7compat-libtiff3Fix deferred
Red Hat Enterprise Linux 7libtiffFix deferred
Red Hat Enterprise Linux 8compat-libtiff3Fix deferred
Red Hat Enterprise Linux 8libtiffFix deferred
Red Hat Enterprise Linux 8mingw-libtiffFix deferred
Red Hat Enterprise Linux 9libtiffFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-9165.

Attack patterns (CAPEC)

  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON