CVE-2026-112896
Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read
Reported by github_m · Published October 19, 2026
Pillow is fixed in 13.0.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Pillow | PyPI | 13.0.0 |
| kserve | Chainguard | 0.21.0-r9 |
| apache-beam-python-3.14-sdk | Chainguard | 2.77.0-r5 |
| py3-pillow | Chainguard | 13.0.0-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | < 13.0.0 |
| PyPI | Pillow | 0 |
| chainguard | kserve | 0 |
| chainguard | apache-beam-python-3.14-sdk | 0 |
| chainguard | py3-pillow | 0 |
| python-pillow | Pillow | 0 |
| chainguard | gftools | 0 |
| chainguard | openstack-horizon-2025.2-fips | 0 |
| chainguard | py3-pytorch-cuda-13.0 | 0 |
| chainguard | superset-5.0 | 0 |
| chainguard | pgadmin4-fips | 0 |
| chainguard | openstack-horizon-2025.2 | 0 |
| chainguard | label-studio | 0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| chainguard | tensorflow-cpu-jupyter | 0 |
| chainguard | openstack-horizon-2026.1-fips | 0 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| chainguard | apache-beam-python-3.12-sdk | 0 |
| chainguard | apache-beam-python-3.11-sdk | 0 |
| chainguard | netbox-fips | 0 |
…and 19 more
Timeline
- Oct 19, 2026 CVE Published
- Oct 20, 2026 CVE Updated
- Oct 20, 2026 EPSS Score (6 in total, the first dated here)
- Oct 20, 2026 Coalition ESS Score
- Oct 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-112896
vulnetix vdb fixes CVE-2026-112896
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-112896/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pchr-8j38-3x4p x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/commit/d03dc3c587a9b0bdc9e4304d70d59a635a87b742 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-112896 advisory
- https://github.com/advisories/GHSA-pchr-8j38-3x4p advisory