CVE-2026-112902
Critical 9.1 P3 · Plan (30/100)Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
Confirmed facts from the sources
- CVSS
- 9.1 (Critical) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.68 % · percentile 47.6 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- The sources reference a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
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.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| python-pillow Pillow | = < 13.0.0 | — | nvd |
| python pillow | < 13.0.0 | — | nvd |
| pip: Pillow | >= 5.4.0, <= 12.3.0 | 13.0.0 | github |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
Fixed versions: Pillow 13.0.0
- github.com (Patch)
- github.com (Patch)
- github.com (Patch)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P3 · Plan (30/100)
- Estimated exploitation probability 0.68 % (EPSS, percentile 47.6 %) – an estimate, not confirmation (+0)
- The sources reference a public exploit (+10)
- Technical severity: CVSS 9.1 (CRITICAL) – on its own not a reason for top priority (+20)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-112902 · nvd
- Advisory https://github.com/advisories/GHSA-xvh5-g6gv-559v · github
- Patch https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d · security-advisories@github.com
- Patch https://github.com/python-pillow/Pillow/pull/10227 · security-advisories@github.com
- Patch https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v · security-advisories@github.com
- Reference https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · security-advisories@github.com
- Reference https://github.com/python-pillow/Pillow/commit/af56ace297b0991d02988fcc2ea933e4824b4fb3 · github
- Reference https://github.com/github/advisory-database/pull/10903 · github