Impact
The CVE describes an out-of-bounds read in Pillow’s TIFF encoder caused by a ColorMap plane-size inconsistency with BitsPerSample. When a small TIFF is opened, Pillow retains a crafted ColorMap that is later reused during re-encoding. An attacker can trigger the buffer read, causing heap memory to be exposed in the output or the process to terminate. The weakness is a memory read vulnerability and is classified as CWE‑125.
Affected Systems
The vulnerability affects the Python Pillow imaging library. Any Pillow installation prior to version 13.0.0 is vulnerable. The issue was resolved in release 13.0.0, so any deployment still using Pillow 12.x or earlier must upgrade. No other products or vendors are listed.
Risk and Exploitability
The CVSS score of 8.8 indicates a high‑impact flaw. EPSS is not available, and the item is not listed in the CISA KEV catalog. The exploit requires an application to open and re‑encode a TIFF image that contains a malicious ColorMap. A remote attacker who can supply images to such an application can trigger the out‑of‑bounds read, potentially leaking sensitive heap data or causing a denial of service. The attack vector is likely remote via crafted image input delivered to a vulnerable service.
OpenCVE Enrichment
Github GHSA