Vulnerability Description
Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeTile and the RGBA unpacker path, when Pillow and libtiff interpret duplicated PhotometricInterpretation or BitsPerSample tags differently, Pillow does not verify that the required input row fits inside the row libtiff produced, while the strip path has this validation. Loading pixels from such a crafted TIFF can expose adjacent heap data in output pixels or crash the process. This issue is fixed in version 13.0.0.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | >= 8.1.0, < 13.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcfPatch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-c6hw-5grf-ff96ExploitMitigationPatch
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-c6hw-5grf-ff96ExploitMitigationPatch
FAQ
What is CVE-2026-112404?
CVE-2026-112404 is a vulnerability with a CVSS score of 8.2 (HIGH). Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeTile and the RGBA unpacker path, when Pill...
How severe is CVE-2026-112404?
CVE-2026-112404 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-112404?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.