Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
Pillow library can allow command injection via crafted filenames
published 2 days ago
Summary
Versions of the Pillow imaging library from 2.6.0 up to 13.0.0 may pass a specially‑named EPS file to Ghostscript, letting an attacker add extra commands. This could let a malicious user run arbitrary code on systems that process such images. Upgrade Pillow to version 13.0.0 or later to stop the problem.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | docker hardened images | datascience-notebook | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | litellm | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | mlflow | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | netbox | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.11-cuda12.8-python3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.11-cuda12.9-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.11-cuda13.0-python3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.13-cuda12.6-python3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.13-cuda13.0-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.7-cuda12.8-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.9-cuda12.9-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | superset | All versions |
Original advisory text
Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking…
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.
References
- https://scout.docker.com/v/DHI-v5f4-5qda-fxm3-hnln Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-112900 Vendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh Vendor Advisory
- https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b... Patch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 URL
- https://errata.almalinux.org/8/ALSA-2026-93077.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:93077 Vendor Advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3411.html Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96778 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112901 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112900 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112897 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112896 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112894 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112399 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112398 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112393 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112392 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112390 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-112900 Vendor Advisory
- https://github.com/advisories/GHSA-w889-685w-c8fh Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2026-93077.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2026-93077.html Vendor Advisory
- https://errata.rockylinux.org/RLSA-2026:93077 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-112900 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-112900 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Timeline
Published20 Nov 2026
Updated20 Nov 2026
First seen20 Nov 2026
Sources
DHI-v5f4-5qda-fxm3-hnln · OSV
Track software like this
Free during beta