Skip to content
Noroxi
CVE-2025-9165· NVD / CVE Program· CNA VulDB

LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak

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

LowCVSS 1.1 · v4.0—No exploit Fix available
Published
Aug 19, 2025
Updated
Jun 17, 2026
EPSS
0.2% · 11th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

4

Monitor

Low priority for now.

CVSS
4 / 40 · 1.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · VulDB
2.0
NVD has not scored this yet; the score shown is the CNA’s.

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
libtifflibtiff

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • libtiff libtiff4.7.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (VulDB). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a LibTIFF

    • 4.7.0affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.21tiffbefore 4.7.1-r04.7.1-r0
Debian:12tiffall versions—
Debian:13tiffbefore 4.7.0-3+deb13u14.7.0-3+deb13u1
Debian:14tiffbefore 4.7.0-44.7.0-4
openSUSE:Leap 16.0tiffbefore 4.7.1-160000.1.14.7.1-160000.1.1
openSUSE:Leap 16.0tiff-manbefore 4.7.1-160000.1.14.7.1-160000.1.1
openSUSE:Tumbleweedtiffbefore 4.7.0-8.14.7.0-8.1
openSUSE:Tumbleweedtkimgbefore 2.1.0-1.12.1.0-1.1
SUSE:Linux Enterprise Micro 5.3tiffbefore 4.0.9-150000.45.55.14.0.9-150000.45.55.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6tiffbefore 4.7.0-150600.3.18.14.7.0-150600.3.18.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6tiffbefore 4.7.0-150600.3.18.14.7.0-150600.3.18.1
SUSE:Linux Enterprise Server 16.0tiffbefore 4.7.1-160000.1.14.7.1-160000.1.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5tiffbefore 4.0.9-44.94.14.0.9-44.94.1
SUSE:Linux Micro 6.0tiffbefore 4.7.1-1.14.7.1-1.1
SUSE:Linux Micro 6.1tiffbefore 4.7.1-slfo.1.1_1.14.7.1-slfo.1.1_1.1

Other highest-scoring records for the same primary product.

  • CVE-2006-3459Multiple stack-based buffer overflows in the TIFF library (libtiff) before 3.8.2, as used in Adobe Reader 9.3.0 and other products, allow co
    46Plan
  • CVE-2004-1308Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a
    44Plan
  • CVE-2018-12900Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.
    43Plan
  • CVE-2015-8668Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier allows remote attack
    43Plan
  • CVE-2004-0929Heap-based buffer overflow in the OJPEGVSetField function in tif_ojpeg.c for libtiff 3.6.1 and earlier, when compiled with the OJPEG_SUPPORT
    42Plan
  • CVE-2016-9540tools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width.
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:tiff4.7.1-r0 · Alpine:v3.21Package registry (OSV)
debian:tiff4.7.0-3+deb13u1 · Debian:13Package registry (OSV)
opensuse:tiff4.7.0-150600.3.18.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:tiff-man4.7.1-160000.1.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:tkimg2.1.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
suse:tiff4.0.9-150000.45.55.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)
suse:tiff4.7.0-150600.3.18.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
Integrity
Availability
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
X

CVSS vector

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

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records