CVE-2026-112902
Description
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.
Weakness
- CWE-686: Function Call With Incorrect Argument Type
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-09 |
Timeline
- 2026-10-21GitHub advisory published (GHSA-xvh5-g6gv-559v)15 days before publication
- 2026-11-05Published by the CNA20:38 UTC
- 2026-11-09CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-xvh5-g6gv-559v, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI pillow | from 5.4.0 before 13.0.0 | 13.0.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| python pillow | before 13.0.0fixed in 13.0.0 | 13.0.0 |
| python-pillow pillow |
References
- https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d
- https://github.com/python-pillow/Pillow/pull/10227
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-112902'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-112902'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-112902'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-112902'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).