CVE-2026-112899

Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit

Published Nov 5, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Pillow is a Python imaging library. In versions 2.3.0 through 12.3.0, EPS rendering does not validate the scaled image dimensions before invoking Ghostscript. Applications that process untrusted EPS or PostScript files using an application-selected scale greater than one can incur excessive Ghostscript CPU and temporary disk consumption. In versions with decompression-bomb protection, the scaled output is checked only after Ghostscript has completed rendering, allowing resource consumption beyond the configured pixel limit. The amplification depends on the scale selected by the application, not an attacker-controlled scale value. This issue is fixed in version 13.0.0.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Pillow to 13.0.0 or later
  • Configure applications to reject EPS inputs or limit the scale factor to 1
  • Monitor system CPU and disk usage for abnormal spikes that could indicate exploitation of unpatched installations

Generated by OpenCVE AI on November 5, 2026 at 22:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vx6w-vv9f-6gvg Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Python
Python pillow
CPEs cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
Vendors & Products Python
Python pillow
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Type Values Removed Values Added
First Time appeared Python-pillow
Python-pillow pillow
Vendors & Products Python-pillow
Python-pillow pillow
Type Values Removed Values Added
Description Pillow is a Python imaging library. In versions 2.3.0 through 12.3.0, EPS rendering does not validate the scaled image dimensions before invoking Ghostscript. Applications that process untrusted EPS or PostScript files using an application-selected scale greater than one can incur excessive Ghostscript CPU and temporary disk consumption. In versions with decompression-bomb protection, the scaled output is checked only after Ghostscript has completed rendering, allowing resource consumption beyond the configured pixel limit. The amplification depends on the scale selected by the application, not an attacker-controlled scale value. This issue is fixed in version 13.0.0.
Title Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 6:34 PM
Reserved
Oct 19, 2026, 8:16 PM
Status
Analyzed
Published
Nov 5, 2026, 9:18 PM
Modified
Nov 10, 2026, 6:38 PM