# CVE-2025-9900: Libtiff write-what-where condition in TIFF image processing

Source: https://junglewise.ai/threats/cve-2025-9900-libtiff-write-what-where-condition-in-tiff-image-processing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-09-23. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2025-9900 · Severity: high · CVSS 8.8 · Published 2025-09-23

Libtiff is a widely used software library for reading and writing TIFF image files. A vulnerability has been identified where processing a maliciously crafted image can allow an attacker to corrupt system memory. This could lead to a complete application crash or allow the attacker to take control of the system and execute unauthorized commands with the user's permissions.

Technologies: [Libtiff](https://junglewise.ai/threats/technologies/libtiff), [Red Hat Enterprise Linux 10](https://junglewise.ai/threats/technologies/enterprise-linux-10), [Red Hat Enterprise Linux 8](https://junglewise.ai/threats/technologies/enterprise-linux-8). Vendors: [Libtiff](https://junglewise.ai/threats/vendors/libtiff), [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2025-9900 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-9900 being exploited in the wild.

**How severe is CVE-2025-9900?** High severity, with a CVSS score of 8.8, published 23 September 2025.

**Which products and versions are affected?** Libtiff < 4.7.1.

**Is there a fix for CVE-2025-9900?** A patch was published on 2025-10-09: Red Hat released security updates for RHEL 8. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-9900 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-9900?** Check whether you run Libtiff, Red Hat Enterprise Linux 10 or Red Hat Enterprise Linux 8 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A 'write-what-where' condition (CWE-123) exists in Libtiff due to improper validation of image metadata. Specifically, an abnormally large image height value in a TIFF file's metadata can be used to trigger memory corruption. This allows an attacker to write controlled color data to arbitrary memory locations. The attack is typically delivered via a malicious TIFF file and requires a user to open or process the file using the vulnerable library. Successful exploitation can lead to arbitrary code execution or a denial of service (application crash). The issue is addressed in Libtiff version 4.7.1.

## Affected products

- Libtiff Libtiff < 4.7.1
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 10

## Timeline

- 2025-09-23: disclosed
- 2025-09-23: advisory: NVD published the CVE record.
- 2025-10-09: patched: Red Hat released security updates for RHEL 8.

## References

- [https://libtiff.gitlab.io/libtiff/](https://libtiff.gitlab.io/libtiff/)
- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://catalog.redhat.com/software/containers/](https://catalog.redhat.com/software/containers/)
- [https://access.redhat.com/errata/RHSA-2025:17651](https://access.redhat.com/errata/RHSA-2025:17651)
- [https://access.redhat.com/errata/RHSA-2025:17675](https://access.redhat.com/errata/RHSA-2025:17675)
- [https://access.redhat.com/errata/RHSA-2025:17710](https://access.redhat.com/errata/RHSA-2025:17710)
- [https://access.redhat.com/errata/RHSA-2025:17738](https://access.redhat.com/errata/RHSA-2025:17738)

## Related threats

- [libtiff heap buffer overflow in tiff2pdf](https://junglewise.ai/threats/cve-2026-18495-libtiff-heap-buffer-overflow-in-tiff2pdf)
- [libtiff integer overflow in thumbnail buffer allocation](https://junglewise.ai/threats/cve-2026-52491-libtiff-integer-overflow-in-thumbnail-buffer-allocation)
- [libtiff integer overflow in rgb2ycbcr cvtRaster](https://junglewise.ai/threats/cve-2026-52492-libtiff-integer-overflow-in-rgb2ycbcr-cvtraster)
- [libtiff integer overflow in tiffcrop -S option](https://junglewise.ai/threats/cve-2026-52490-libtiff-integer-overflow-in-tiffcrop-s-option)
- [Red Hat yggdrasil-worker-package-manager argument injection in APT backend](https://junglewise.ai/threats/cve-2026-18157-red-hat-yggdrasil-worker-package-manager-argument-injection-in)
