Allocation of Resources Without Limits or Throttling in Pillow - CVE-2026-112899

 

Allocation of Resources Without Limits or Throttling in Pillow - CVE-2026-112899

Published: November 3, 2026


Vulnerability identifier: #VU158888
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-112899
CWE-ID: CWE-770
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Pillow

How to mitigate CVE-2026-112899

Install security update from vendor's website.

Pillow - update to 13.0.0

External References

Related Security Bulletins