Technical impact
Pillow, a Python imaging library, contains a flaw in versions 2.3.0 through 12.3.0 where EPS rendering does not validate scaled image dimensions before invoking Ghostscript. This omission enables an application to exhaust CPU and temporary disk resources when processing untrusted EPS or PostScript files with a scale factor greater than one. The resulting resource exhaustion can cause denial of service. The weakness corresponds to CWE-770, Resource Exhaustion.
Affected Systems
The vulnerability affects installations of Pillow versions 2.3.0 to 12.3.0 on any platform where the library is used. It is resolved in Pillow 13.0.0 and later.
Risk and Exploitability
The CVSS score of 6.3 indicates moderate severity. EPSS data is unavailable, and the vulnerability is not listed in CISA KEV, suggesting limited current exploitation. Exploitation requires an application that processes untrusted EPS files with a scale factor greater than one; the scale is set by the application rather than the attacker, which reduces the likelihood of an automated attack. Nevertheless, systems that accept user‑supplied EPS content remain at risk for resource exhaustion.
Github GHSA