CVE-2025-9900
Libtiff: libtiff write-what-where
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)
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
- CWE-123 Write-what-where Condition
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
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-9900RHEL, Rocky, Alma, Fedora
rpm -q libtiff
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-9900Alpine
apk list --installed | grep -i libtiffWith 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
- RHSA-2025:17651 access.redhat.com · vendor advisory
- RHSA-2025:17675 access.redhat.com · vendor advisory
- RHSA-2025:17710 access.redhat.com · vendor advisory
- RHSA-2025:17738 access.redhat.com · vendor advisory
- RHSA-2025:17739 access.redhat.com · vendor advisory
- RHSA-2025:17740 access.redhat.com · vendor advisory
- RHSA-2025:19113 access.redhat.com · vendor advisory
- RHSA-2025:19156 access.redhat.com · vendor advisory
- RHSA-2025:19276 access.redhat.com · vendor advisory
- RHSA-2025:19906 access.redhat.com · vendor advisory
- RHSA-2025:19947 access.redhat.com · vendor advisory
- RHSA-2025:20956 access.redhat.com · vendor advisory
21 more
- RHSA-2025:20998 access.redhat.com · vendor advisory
- RHSA-2025:21060 access.redhat.com · vendor advisory
- RHSA-2025:21061 access.redhat.com · vendor advisory
- RHSA-2025:21062 access.redhat.com · vendor advisory
- RHSA-2025:21407 access.redhat.com · vendor advisory
- RHSA-2025:21506 access.redhat.com · vendor advisory
- RHSA-2025:21507 access.redhat.com · vendor advisory
- RHSA-2025:21508 access.redhat.com · vendor advisory
- RHSA-2025:21994 access.redhat.com · vendor advisory
- RHSA-2025:23078 access.redhat.com · vendor advisory
- RHSA-2025:23079 access.redhat.com · vendor advisory
- RHSA-2025:23080 access.redhat.com · vendor advisory
- RHSA-2026:0001 access.redhat.com · vendor advisory
- RHSA-2026:0076 access.redhat.com · vendor advisory
- RHSA-2026:0077 access.redhat.com · vendor advisory
- RHSA-2026:0078 access.redhat.com · vendor advisory
- RHSA-2026:3461 access.redhat.com · vendor advisory
- RHSA-2026:3462 access.redhat.com · vendor advisory
- RHSA-2026:7504 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-9900 access.redhat.com · vdb entry
- RHBZ#2392784 bugzilla.redhat.com · issue tracking
Exploits and proof of concept
- https://github.com/SexyShoelessGodofWar/LibTiff-4.7.0-Write-What-Where?tab=readme-ov-file github.com · exploit
Other references
- https://gitlab.com/libtiff/libtiff/-/issues/704 gitlab.com
- https://gitlab.com/libtiff/libtiff/-/merge_requests/732 gitlab.com
- https://libtiff.gitlab.io/libtiff/releases/v4.7.1.html libtiff.gitlab.io
- https://lists.debian.org/debian-lts-announce/2025/09/msg00031.html lists.debian.org
- http://www.openwall.com/lists/oss-security/2025/09/26/3 openwall.com
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.