CVE-2026-112899
Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
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.
Fixes and workarounds
Fix
Pillow (pip): GitHub reports patched versions 13.0.0. Check the advisory for the affected release branch.
Source: GitHub GHSA-vx6w-vv9f-6gvgFix
pillow (PyPI): OSV reports a fixed version 13.0.0. Check the advisory for supported release branches.
Source: OSV GHSA-vx6w-vv9f-6gvgAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Pillow python-pillow |
>= 2.5.0, < 13.0.0 (affected) | CNA: GitHub_M |
PillowPillow
pip |
2.3.0 - 12.3.0 (affected, GitHub advisory range) | GitHub GHSA-vx6w-vv9f-6gvg |
pillowpillow
PyPI |
10.0.0 (affected, PyPI) 10.0.1 (affected, PyPI) 10.1.0 (affected, PyPI) 10.2.0 (affected, PyPI) 10.3.0 (affected, PyPI) 10.4.0 (affected, PyPI) 11.0.0 (affected, PyPI) 11.1.0 (affected, PyPI) 11.2.1 (affected, PyPI) 11.3.0 (affected, PyPI) 12.0.0 (affected, PyPI) 12.1.0 (affected, PyPI) 12.1.1 (affected, PyPI) 12.2.0 (affected, PyPI) 12.3.0 (affected, PyPI) 2.3.0 (affected, PyPI) 2.3.1 (affected, PyPI) 2.3.2 (affected, PyPI) 2.4.0 (affected, PyPI) 2.5.0 (affected, PyPI) 2.5.1 (affected, PyPI) 2.5.2 (affected, PyPI) 2.5.3 (affected, PyPI) 2.6.0 (affected, PyPI) 2.6.1 (affected, PyPI) 2.6.2 (affected, PyPI) 2.7.0 (affected, PyPI) 2.8.0 (affected, PyPI) 2.8.1 (affected, PyPI) 2.8.2 (affected, PyPI) 2.9.0 (affected, PyPI) 3.0.0 (affected, PyPI) 3.1.0 (affected, PyPI) 3.1.0.rc1 (affected, PyPI) 3.1.0rc1 (affected, PyPI) 3.1.1 (affected, PyPI) 3.1.2 (affected, PyPI) 3.2.0 (affected, PyPI) 3.3.0 (affected, PyPI) 3.3.1 (affected, PyPI) 3.3.2 (affected, PyPI) 3.3.3 (affected, PyPI) 3.4.0 (affected, PyPI) 3.4.1 (affected, PyPI) 3.4.2 (affected, PyPI) 4.0.0 (affected, PyPI) 4.1.0 (affected, PyPI) 4.1.1 (affected, PyPI) 4.2.0 (affected, PyPI) 4.2.1 (affected, PyPI) 4.3.0 (affected, PyPI) 5.0.0 (affected, PyPI) 5.1.0 (affected, PyPI) 5.2.0 (affected, PyPI) 5.3.0 (affected, PyPI) 5.4.0 (affected, PyPI) 5.4.0.dev0 (affected, PyPI) 5.4.1 (affected, PyPI) 6.0.0 (affected, PyPI) 6.1.0 (affected, PyPI) 6.2.0 (affected, PyPI) 6.2.1 (affected, PyPI) 6.2.2 (affected, PyPI) 7.0.0 (affected, PyPI) 7.1.0 (affected, PyPI) 7.1.1 (affected, PyPI) 7.1.2 (affected, PyPI) 7.2.0 (affected, PyPI) 8.0.0 (affected, PyPI) 8.0.1 (affected, PyPI) 8.1.0 (affected, PyPI) 8.1.1 (affected, PyPI) 8.1.2 (affected, PyPI) 8.2.0 (affected, PyPI) 8.3.0 (affected, PyPI) 8.3.1 (affected, PyPI) 8.3.2 (affected, PyPI) 8.4.0 (affected, PyPI) 9.0.0 (affected, PyPI) 9.0.1 (affected, PyPI) 9.1.0 (affected, PyPI) 9.1.1 (affected, PyPI) 9.2.0 (affected, PyPI) 9.3.0 (affected, PyPI) 9.4.0 (affected, PyPI) 9.5.0 (affected, PyPI) Ecosystem version events: introduced 2.3.0; fixed 13.0.0 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-vx6w-vv9f-6gvg |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 6.3 medium |
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 | CNA: GitHub_M |
| 4.0 / 6.3 medium |
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
Exploit evidence
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvg
exploit · ADP: CISA-ADP
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvgCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/10112CNA: GitHub_M · x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/3e8cc105588d1dfe062fcada0b6058c1b5f14b65CNA: GitHub_M · x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvgADP: CISA-ADP · exploit
- https://github.com/python-pillow/Pillow/commit/3e8cc105588d1dfe062fcada0b6058c1b5f14b65[email protected]
- https://github.com/python-pillow/Pillow/pull/10112[email protected]
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0[email protected]
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvg[email protected]
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvgGitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-vx6w-vv9f-6gvgOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-vx6w-vv9f-6gvgOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.