CVE-2026-112393
Reported by GitHub_M · Published October 19, 2026
Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 2.0.0, < 13.0.0 |
| chainguard | py3-pytorch-cuda-13.0 | 0 |
| PyPI | Pillow | 2.0.0 |
| chainguard | openstack-horizon-2025.2 | 0 |
| chainguard | py3-pillow | 0 |
| wolfi | open-webui | 0 |
| chainguard | apache-beam-python-3.12-sdk | 0 |
| python-pillow | Pillow | 2.0.0 |
| chainguard | superset-fips-6.1 | 0 |
| chainguard | nemo-gym | 0 |
| chainguard | nemo-rl-cuda-13.0 | 0 |
| wolfi | py3-pillow | 0 |
| chainguard | open-webui | 0 |
Timeline
- Oct 19, 2026 CVE Published
- Oct 20, 2026 EPSS Score
- Oct 21, 2026 EPSS Score
- Oct 24, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
- Oct 27, 2026 EPSS Score
- Oct 30, 2026 EPSS Score
- Oct 30, 2026 Security Advisory
- Oct 31, 2026 Distribution Patch
- Oct 31, 2026 Security Advisory
- Nov 3, 2026 Distribution Patch
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/commit/11582e5ffbdceb973d5ee593f3105af5a9852b40 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-112393 advisory
- https://github.com/advisories/GHSA-332p-7hrc-92wf advisory