THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-w889-685w-c8fh (critical) — Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

[GHSA] GHSA-w889-685w-c8fh (critical) — Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

medgithub_advisoriesPublished 2026-10-21

GHSA-w889-685w-c8fh Severity: critical CVE: CVE-2026-112900

Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

### 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 comm

Indicators of compromise

Original source: https://github.com/advisories/GHSA-w889-685w-c8fh