Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 13.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/python-pillow/Pillow/commit/d03dc3c587a9b0bdc9e4304d70d59a635Patch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pchr-8j38-3x4pExploitVendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pchr-8j38-3x4pExploitVendor Advisory
FAQ
What is CVE-2026-112896?
CVE-2026-112896 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 ...
How severe is CVE-2026-112896?
CVE-2026-112896 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-112896?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.