CVE-2026-112902
Pillow is a Python imaging library. In versions through 12.3.0, the …
Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to TIFFSetField() that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v
- github.com/python-pillow/Pillow/commit/af56ace297b0991d02988fcc2ea933e4824b4fb3
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/advisories/GHSA-xvh5-g6gv-559v
- github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d
- github.com/python-pillow/Pillow/pull/10227
- nvd.nist.gov/vuln/detail/CVE-2026-112902
- github.com/github/advisory-database/pull/10903
- nvd.nist.gov/vuln/detail/CVE-2026-112902
- cve.org/CVERecord?id=CVE-2026-112902
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.