PT-2026-120344
CVE-2026-112899
·
Published
2026-10-20
·
Updated
2026-11-17
Description by
CVSS 4.0
6.3
MediumMetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Pillow versions 2.3.0 through 12.3.0
Description
EPS rendering does not validate scaled image dimensions before invoking Ghostscript. When an application processes untrusted Encapsulated PostScript (EPS) or PostScript files using a scale greater than one, it can lead to excessive CPU and temporary disk consumption. In versions with decompression-bomb protection, the scaled output is only checked after Ghostscript has completed rendering, allowing resource consumption to exceed the configured pixel limit. The amplification is determined by the scale selected by the application rather than a value controlled by an attacker. The issue resides in the
Ghostscript() function within src/PIL/EpsImagePlugin.py, where the scale variable is used to calculate output geometry without calling Image. decompression bomb check() on the resulting dimensions.Recommendations
Update Pillow to version 13.0.0.
As a temporary workaround, avoid using the
scale parameter in the load() function when processing untrusted EPS files.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾