PoC Monitor
← All CVEs
CVE-2026-112900published 19 Oct 2026 22:07 UTCData: JSON · API

Python-pillow Pillow

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

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.

First public PoC 5.1 daysafter publication · 25 Oct 2026
Public PoCs33 on GitHub
CVSS9.8critical · scored by NVD · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

python-pillow Pillow
  • >= 2.6.0, < 13.0.0

Fixed in 13.0.0

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Oct 2026 · t = 0First public PoC25 Oct 2026 · t+5.1d

First public PoC 5.1 days after publication; not in CISA KEV. First PoC: moprius/CVE-2026-112900-Pillow-PoC (created 25 Oct 2026, found by us: 14 Nov 2026).

PoC repositories

Found on GitHub.

3 PoCs · 1 pending · 1 informational

PoCs 3
RepositoryCreatedFound by usStarsAssessment
moprius/CVE-2026-112900-Pillow-PoC 25 Oct 2026 +5.1 d 14 Nov 2026 0 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

kavin-jindal/CVE-2026-112900 25 Oct 2026 +5.7 d 14 Nov 2026 2 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

kavin-jindal/CVE-2026-112900-PoC 25 Oct 2026 +5.7 d 14 Nov 2026 2 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Pending 1
RepositoryCreatedFound by usStarsAssessment
federiconbaez/cortex9-pillow-ghostscript-argv-injection-model 9 Nov 2026 +21 d 14 Nov 2026 0 Pending
Informational 1
RepositoryCreatedFound by usStarsAssessment
techupdate24/python-pillow-rce-cve-2026-112900 23 Oct 2026 +3.6 d 14 Nov 2026 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.