pwned.coffeeOrder ticket · today's special · 21 Oct 2026
criticalpatched
Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
Pillow (pip)
### Summary `PIL.EpsImagePlugin.Ghostscript()` builds the Ghostscript command line using the input file path (`fp.name`) **without sanitization**, placing it at `-f <infile>`. A filename beginning with `-` is interpreted by Ghostscript as an option, giving command-line argument injection; chainable to RCE (see Impact). Reproduces with Pillow's default…
- First seen
- Last update
- Fixed in
- Pillow 13.0.0
- Identifiers
- CVSS
- 9.2
- Source
- GitHub advisory
- On the menu as
Timeline
Additional details on the flaw in Pillow's EPS image handling.
First reported.
Sources
Totalone very hot coffee