CVE-2025-9900

Libtiff: libtiff write-what-where

8.8 high EPSS 1.23%

Published 23 Sep 2025 Updated 4 Nov 2026 CNA: redhat

Description

A flaw was found in Libtiff. This vulnerability is a "write-what-where" condition, triggered when the library processes a specially crafted TIFF image file.

By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location. This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user.

Severity (CVSS)

8.8 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 68.9% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 29 Apr 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
libtiff
package libtiff
affected before 4.7.1
Other versions: unaffected
Red Hat Enterprise Linux 10
package libtiff
unaffected 0:4.6.0-6.el10_0.1 and later
Other versions: affected
Red Hat Enterprise Linux 10
package libtiff
unaffected 0:4.6.0-6.el10_1.1 and later
Other versions: affected
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package compat-libtiff3
unaffected 0:3.9.4-12.el7_9.1 and later
Other versions: affected
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package libtiff
unaffected 0:4.0.3-35.el7_9.1 and later
Other versions: affected
Red Hat Enterprise Linux 8
package compat-libtiff3
unaffected 0:3.9.4-14.el8_10 and later
Other versions: affected
Red Hat Enterprise Linux 8
package libtiff
unaffected 0:4.0.9-35.el8_10 and later
Other versions: affected
Red Hat Enterprise Linux 8
package mingw-libtiff
unaffected 0:4.0.9-3.el8_10 and later
Other versions: affected
Red Hat Enterprise Linux 8.2 Advanced Update Support
package compat-libtiff3
unaffected 0:3.9.4-13.el8_2.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.2 Advanced Update Support
package libtiff
unaffected 0:4.0.9-17.el8_2.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.2 Advanced Update Support
package spice-client-win
unaffected 0:8.10-3.el8_2.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package compat-libtiff3
unaffected 0:3.9.4-13.el8_4.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package libtiff
unaffected 0:4.0.9-18.el8_4.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package spice-client-win
unaffected 0:8.10-3.el8_4.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package compat-libtiff3
unaffected 0:3.9.4-13.el8_4.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package libtiff
unaffected 0:4.0.9-18.el8_4.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package spice-client-win
unaffected 0:8.10-3.el8_4.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package compat-libtiff3
unaffected 0:3.9.4-13.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package libtiff
unaffected 0:4.0.9-21.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package spice-client-win
unaffected 0:8.10-3.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package compat-libtiff3
unaffected 0:3.9.4-13.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package libtiff
unaffected 0:4.0.9-21.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package spice-client-win
unaffected 0:8.10-3.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package compat-libtiff3
unaffected 0:3.9.4-13.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package libtiff
unaffected 0:4.0.9-21.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package spice-client-win
unaffected 0:8.10-3.el8_6.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package compat-libtiff3
unaffected 0:3.9.4-13.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package libtiff
unaffected 0:4.0.9-29.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package spice-client-win
unaffected 0:8.10-3.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package compat-libtiff3
unaffected 0:3.9.4-13.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package libtiff
unaffected 0:4.0.9-29.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package spice-client-win
unaffected 0:8.10-3.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 9
package libtiff
unaffected 0:4.4.0-13.el9_6.2 and later
Other versions: affected
Red Hat Enterprise Linux 9
package libtiff
unaffected 0:4.4.0-15.el9_7.2 and later
Other versions: affected
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package libtiff
unaffected 0:4.2.0-3.el9_0.2 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package libtiff
unaffected 0:4.4.0-8.el9_2.4 and later
Other versions: affected
Red Hat Enterprise Linux 9.4 Extended Update Support
package libtiff
unaffected 0:4.4.0-12.el9_4.4 and later
Other versions: affected
Red Hat AI Inference Server 3.2
package rhaiis/vllm-cuda-rhel9
unaffected 3.2.2-1765379088 and later
Other versions: affected
Red Hat AI Inference Server 3.2
package rhaiis/vllm-rocm-rhel9
unaffected 3.2.2-1765379049 and later
Other versions: affected
Red Hat AI Inference Server 3.2
package rhaiis/model-opt-cuda-rhel9
unaffected 3.2.2-1764871796 and later
Other versions: affected
Red Hat AI Inference Server 3.2
package rhaiis/vllm-cuda-rhel9
unaffected 1772160593 and later
Other versions: affected
Red Hat AI Inference Server 3.2
package rhaiis/vllm-rocm-rhel9
unaffected 1772160625 and later
Other versions: affected
Red Hat Discovery 2
package discovery/discovery-ui-rhel9
unaffected 2.4.0-1763656152 and later
Other versions: affected
Red Hat Hardened Images
package libtiff-main
unaffected 4.7.1-2.1.hum1 and later
Other versions: affected
Red Hat Enterprise Linux 6
package libtiff
unknown the record does not list versions

Is my server affected?

Find the installed version of libtiff and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i libtiff
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-9900 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-9900

RHEL, Rocky, Alma, Fedora

rpm -q libtiff
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-9900

Alpine

apk list --installed | grep -i libtiff

With Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:

trivy rootfs --scanners vuln / | grep CVE-2025-9900
trivy image --scanners vuln IMAGE | grep CVE-2025-9900

Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.

References

Advisories

21 more

Exploits and proof of concept

Other references

Source: the record CVE-2025-9900 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.