CVE-2026-112897
Reported by GitHub_M · Published October 19, 2026
Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-compressed or Group 4 fax TIFF data. The _decodeStrip and _decodeTile buffers can be larger than the bytes written by libtiff, but Pillow converts the expected rows without clearing the unwritten tail. The tile path is affected from 5.3.0 and the strip path from 6.0.0. An attacker can supply a crafted TIFF to an application that loads and returns or re-encodes its pixels. This can disclose stale heap contents without memory corruption or a process crash. This issue is fixed in version 13.0.0.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 5.3.0, < 13.0.0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| wolfi | superset-6.1 | 0 |
| chainguard | apache-beam-python-3.11-sdk | 0 |
| chainguard | apache-beam-python-3.13-sdk | 0 |
| wolfi | gftools | 0 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| python-pillow | Pillow | 5.3.0 |
| chainguard | py3-pytorch-cuda-13.0 | 0 |
| wolfi | py3-pillow | 0 |
| chainguard | openstack-horizon-2025.2 | 0 |
| chainguard | nemo-rl-cuda-13.0 | 0 |
| chainguard | netbox | 0 |
| wolfi | superset-6.0 | 0 |
| chainguard | pgadmin4 | 0 |
| chainguard | label-studio | 0 |
| PyPI | Pillow | 5.3.0 |
| chainguard | apache-beam-python-3.14-sdk | 0 |
| chainguard | kubeflow-pipelines-visualization-server | 0 |
| chainguard | open-webui | 0 |
…and 19 more
Timeline
- Oct 19, 2026 CVE Published
- Oct 20, 2026 EPSS Score
- Oct 20, 2026 Coalition ESS Score
- Oct 21, 2026 EPSS Score
- Oct 24, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
- Oct 27, 2026 CVE Updated
- Oct 29, 2026 EPSS Score
- Oct 30, 2026 Security Advisory
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-112897 advisory
- https://github.com/advisories/GHSA-q45j-58j2-45rg advisory