Allocation of Resources Without Limits or Throttling in Pillow - CVE-2026-112899
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive Ghostscript CPU consumption and temporary disk usage.
The vulnerability exists due to missing resource-limit enforcement on scaled image dimensions in Ghostscript() in src/PIL/EpsImagePlugin.py when rendering untrusted EPS files with Ghostscript at an application-selected scale greater than 1. A remote attacker can submit a small EPS file with declared dimensions below the initial decompression-bomb threshold to trigger oversized rendering and temporary-file creation before the scaled output is checked, consuming resources beyond the configured limit.