Pillow versions 2.3.0 through 12.3.0 contain a vulnerability in EPS rendering where scaled image dimensions are not validated before invoking Ghostscript. This can lead to excessive CPU and disk resource consumption by Ghostscript when processing untrusted EPS or PostScript files with an application-selected scale greater than one. The decompression bomb protection only checks the scaled output after rendering, allowing resource usage beyond configured limits. This issue is fixed in Pillow version 13.0.0.