Skip to content
Fencer Intel
low 2.5

CVE-2025-9165 json

LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak

published last yr. modified 3mo ago also EUVD-2025-25249 , JLSEC-2025-323

cvss
2.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 16%
public exploits
0
none known

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

Patch / fix

  • tiff Debian 13 4.7.0-3+deb13u1
  • tiff Debian 14 4.7.0-4

debian advisories DEBIAN-CVE-2025-9165

  • tiff Ubuntu 22.04 LTS 4.3.0-6ubuntu0.12
  • tiff Ubuntu 24.04 LTS 4.5.1+git230720-4ubuntu2.4
  • tiff Ubuntu 26.04 LTS, Ubuntu 25.10 4.7.0-3ubuntu3
  • tiff Ubuntu Pro 14.04 LTS 4.0.3-7ubuntu0.11+esm16
  • tiff Ubuntu Pro 16.04 LTS 4.0.6-1ubuntu0.8+esm19
  • tiff Ubuntu Pro 18.04 LTS 4.0.9-5ubuntu0.10+esm9
  • tiff Ubuntu Pro 20.04 LTS 4.1.0+git191117-2ubuntu0.20.04.14+esm2

ubuntu advisories UBUNTU-CVE-2025-9165

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • tiff SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 4.7.1-160000.1.1
  • tiff Linux Micro 6.0 4.7.1-1.1
  • tiff Linux Micro 6.1 4.7.1-slfo.1.1_1.1
  • tiff SLE Module for Package Hub 15 SP7, SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 4.7.0-150600.3.18.1
  • tiff SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, SLE Micro 5.5 +3 more 4.0.9-150000.45.55.1
  • tiff SLES LTSS Extended Security 12 SP5 4.0.9-44.94.1

suse advisories SUSE-SU-2025:21009-1SUSE-SU-2025:21032-1SUSE-SU-2025:21037-1SUSE-SU-2025:20971-1SUSE-SU-2025:03348-1SUSE-SU-2025:03346-1

  • tiff openSUSE Leap 16.0 4.7.1-160000.1.1
  • tiff-man openSUSE Leap 16.0 4.7.1-160000.1.1
  • tkimg openSUSE Tumbleweed 2.1.0-1.1
  • tiff openSUSE Tumbleweed 4.7.0-8.1

opensuse advisories openSUSE-SU-2025:20049-1openSUSE-SU-2025:15556-1openSUSE-SU-2025:15486-1

  • tiff Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 4.7.1-r0

alpine advisories ALPINE-CVE-2025-9165

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtiff CBL-Mariner 2.0, Azure Linux 3.0 4.6.0-8

azure linux advisories AZL-66542AZL-66545

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2025-9165 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-9165 updated cvss 3.3

libtiff: LibTIFF memory leak

  • Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools, compat-libtiff3 Red Hat Enterprise Linux 8 libtiff, libtiff-tools, mingw-libtiff, compat-libtiff3, mingw32-libtiff, mingw64-libtiff Red Hat Enterprise Linux 9 libtiff, libtiff-tools Red Hat Enterprise Linux 10 libtiff
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • drive.google.com https://drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view?usp=sharing referenced PoC, tagged "exploit" by a source, unverified
  • gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/728 referenced PoC, tagged "exploit" by a source, unverified
  • gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 2.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
CNA 3.1 2.5 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
CNA 3.0 2.5 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
CNA 2.0 1.0 AV:L/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C
CNA 4.0 1.1 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CNA 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
CNA 2.0 1.0 AV:L/AC:H/Au:S/C:N/I:N/A:P

Affected products

  • n/a LibTIFF

Classification

Weakness
  • CWE-401 Missing Release of Memory after Effective Lifetime
  • CWE-404 Improper Resource Shutdown or Release

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.