Skip to main content
VulnerabilityPublished

CVE-2026-112899: Pillow · EPS load(scale) lets Ghostscript render past the decompression bomb limit

Affects PillowSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112899· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 13.0.0 when convenient.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.3
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 13.0.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade Pillow to 13.0.0.

Affected software

ProductAffectedFixed in
PyPIPillowAffected
  • >=2.3.0 <13.0.0
Fixed in
  • 13.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for Pillow that applies the decompression bomb check to the scaled image size before invoking Ghostscript, preventing oversized renders. Users should upgrade to a fixed version of Pillow (13.0.0 or later). Until patched, avoid processing untrusted EPS files with scaling or implement external controls to limit resource usage by Ghostscript. Since this is a local library vulnerability, sandboxing or limiting Ghostscript execution time may also help mitigate impact.

Description

Pillow's EPS image loader allows Ghostscript to render images at a scaled size that exceeds Pillow's decompression bomb limit. This occurs because the decompression bomb check is only applied to the unscaled image size declared in the EPS file, not the scaled size requested by the application. As a result, an attacker can cause Ghostscript to generate very large temporary files, consuming excessive disk space and CPU resources. The vulnerability affects Pillow versions from 2.3.0 up to but not including 13.0.0. A patch is available to address this issue.

References

Community reviews

Loading reviews…