CVE-2026-112899
MEDIUM 6.3CVSS 4.0Pillow: 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.
- Published
- 5 Nov 2026
- Last modified
- 17 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- BIT-pillow-2026-112899GHSA-vx6w-vv9f-6gvg
- Sources
- NVDJSONOSV GHSA-vx6w-vv9f-6gvgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
>= 2.3.0, < 13.0.0 | 13.0.0 |
| OSV | PyPI | pillow | >= 2.3.0, < 13.0.0 | 13.0.0 |
References
- https://github.com/python-pillow/Pillow/commit/3e8cc105588d1dfe062fcada0b6058c1b5f14b65 · Patch, WEB
- https://github.com/python-pillow/Pillow/pull/10112 · Issue Tracking, Patch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · Release Notes, WEB
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvg · Vendor Advisory, Exploit, Mitigation, Patch, WEB
- https://github.com/python-pillow/Pillow · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Oct 2026)