CVE-2026-112900Pillow OS Command Injection
From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input.
Published Oct 19, 2026 · Updated Oct 29, 2026 · Also known as BIT-pillow-2026-112900, EUVD-2026-104661, GHSA-w889-685w-c8fh, ROOT-APP-PYPI-CVE-2026-112900
Key Facts
Patch in the next maintenance window- CVE-2026-112900 is a critical-severity vulnerability (CVSS 9.2 v4) affecting Pillow (Python), python-Pillow (opensuse).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 1.3% probability of exploitation in the next 30 days.
- Fixed versions are available, including Pillow 10.3.0+aikido.18, Pillow 10.3.0+aikido.19, Pillow 10.4.0+aikido.16.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
9.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
1.3%
Higher than 70.4% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
53/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
3
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input. EpsImagePlugin.Ghostscript passes a caller-controlled input filename after -f without converting it to a safe absolute path, so a name beginning with a hyphen can be interpreted as a Ghostscript option.
An attacker who controls the filename can inject Ghostscript arguments. Arbitrary command execution specifically requires a leading @ argument-file filename and control of the referenced text file containing additional Ghostscript arguments; the reported chain reproduces with the default -dSAFER invocation. This issue is fixed in version 13.0.0.
Affected Products
13 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PillowPython | >= 2.6.0, >= 2.6.0,, >= 2.6.0, < 13.0.0 | 13.0.0 |
| python-Pillowopensuse | See advisory | 13.0.0-1.1 |
Patched Releases
Pillow
10.3.0+aikido.18, 10.3.0+aikido.19, 10.4.0+aikido.16, 12.3.0+aikido.3, 12.3.0+aikido.4, 13.0.0, 13.0.0-1
python-Pillow
13.0.0, 13.0.0-1.1
Timeline
Publicly disclosed
Oct 19, 2026
Last updated
Oct 29, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-112900
- advisoryGHSA advisory
- articlesuse.com · CVE-2026-112900
- articlesuse.com · CVE-2026-112390
FAQ
Common Questions.
Pillow is a Python imaging library.
Affected: Pillow (Python) versions >= 2.6.0, >= 2.6.0,, >= 2.6.0, < 13.0.0; python-Pillow (opensuse). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Pillow 10.3.0+aikido.18, Pillow 10.3.0+aikido.19, Pillow 10.4.0+aikido.16.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-112900 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo