SocWatch

CVE-2026-112900

Kritisch 9,8 PoC auf GitHub

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

CVSS
9,8 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
1,30 % (höher als 71,4 % aller Lücken)
Veröffentlicht
19.10.2026
Zuletzt geändert
27.10.2026

Öffentlicher Angriffscode

4 Proofs of Concept auf GitHub, darunter kavin-jindal/CVE-2026-112900-PoC, techupdate24/python-pillow-rce-cve-2026-112900, moprius/CVE-2026-112900-Pillow-PoC. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.

Beschreibung

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.

Betroffene Pakete

Paket Betroffen Behoben in
AlmaLinux:8 python3-pillow alle Versionen vor 5.1.1-36.el8_10 5.1.1-36.el8_10
AlmaLinux:8 python3-pillow-devel alle Versionen vor 5.1.1-36.el8_10 5.1.1-36.el8_10
AlmaLinux:8 python3-pillow-doc alle Versionen vor 5.1.1-36.el8_10 5.1.1-36.el8_10
AlmaLinux:8 python3-pillow-tk alle Versionen vor 5.1.1-36.el8_10 5.1.1-36.el8_10
Debian:12 pillow alle Versionen, noch kein Fix noch kein Fix
Debian:13 pillow alle Versionen, noch kein Fix noch kein Fix
PyPI pillow ab 2.6.0 vor 13.0.0 13.0.0
Rocky Linux:8 python-pillow alle Versionen vor 0:5.1.1-36.el8_10 0:5.1.1-36.el8_10
Ubuntu:22.04:LTS pillow alle Versionen vor 9.0.1-1ubuntu0.7 9.0.1-1ubuntu0.7
Ubuntu:24.04:LTS pillow alle Versionen vor 10.2.0-1ubuntu1.5 10.2.0-1ubuntu1.5

Quellen

Weitere Kennungen

GHSA-w889-685w-c8fh · BIT-pillow-2026-112900 · UBUNTU-CVE-2026-112900 · DEBIAN-CVE-2026-112900 · CWE-78 · CWE-88

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.