CVE-2026-112899: Pillow · EPS load(scale) lets Ghostscript render past the decompression bomb limit
Affects PillowSource GCVE Database
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
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.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:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| PyPIPillow | Affected
| Fixed in
|
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
- github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvg (opens in a new tab)
- github.com/python-pillow/Pillow/commit/3e8cc105588d1dfe062fcada0b6058c1b5f14b65 (opens in a new tab)
- github.com/python-pillow/Pillow (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/13.0.0 (opens in a new tab)