CVE-2026-112900
Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
No known exploitation. EPSS puts it in the 64th percentile. No fix published yet.
What to do
No fixed build or workaround is published yet. Limit exposure and watch for a patch.
- python-pillow PillowAffected: >= 2.6.0, < 13.0.0Upgrade to: not statedStated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your website, app, or internal tools use Python and the Pillow image library, especially any feature that processes EPS image files.
- Ask your developer or vendor to confirm the exact Pillow version in use (versions from 2.6.0 up to, but not including, the fixed release are affected).
- If you process EPS files from users or other untrusted sources, have that feature disabled or restricted until a confirmed patch is applied.
- Have your developer upgrade Pillow to the fixed version referenced in the vendor's advisory (reported as 13.0.0) once it is officially released and confirmed.
- Re-check with your developer periodically, since official patch details were not yet confirmed at the time of this report.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordThis is a flaw in Pillow, a common Python tool for processing images, that could let a specially crafted file trick the program into running extra commands — but there's no sign anyone is exploiting it, so most small businesses don't need to act urgently right now.
Argument injection in Pillow's EpsImagePlugin.Ghostscript() (CWE-78/88) occurs because an attacker-controlled EPS filename is passed unsanitized after the `-f` flag, letting a hyphen-prefixed or `@`-prefixed filename be interpreted as a Ghostscript option/argument-file, potentially enabling command execution under specific conditions (attacker control of a referenced argument file).
If you're affected
- Server command execution risk
- Image-processing pipeline compromise
- Possible data exposure via server access
- Operational disruption if exploited
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
1.1% chance of exploitation activity in the next 30 days, which ranks it in the 64th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1 day, from the signal feeds we watch.
- Record updatedrecord updated
- Publishedweakness classified, att&ck mapped, record updated
Affected products
Technical detail
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Pillow, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI