CVE-2026-112896
High 7.1 P4 · Monitor (22/100)Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read
Confirmed facts from the sources
- CVSS
- 7.1 (High) · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/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.48 % · percentile 33.5 % (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. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue 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 | <= 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)
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?: P4 · Monitor (22/100)
- Estimated exploitation probability 0.48 % (EPSS, percentile 33.5 %) – an estimate, not confirmation (+0)
- The sources reference a public exploit (+10)
- Technical severity: CVSS 7.1 (HIGH) – on its own not a reason for top priority (+12)
- 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://github.com/python-pillow/Pillow/security/advisories/GHSA-pchr-8j38-3x4p · security-advisories@github.com
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-112896 · nvd
- Advisory https://github.com/advisories/GHSA-pchr-8j38-3x4p · github
- Patch https://github.com/python-pillow/Pillow/commit/d03dc3c587a9b0bdc9e4304d70d59a635a87b742 · security-advisories@github.com
- Reference https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · security-advisories@github.com