Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-112900

Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
Back to all
CVE

CVE-2026-112900

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.2
-
4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/python-pillow/Pillow/releases/tag/13.0.0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112900.json, https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh, https://nvd.nist.gov/vuln/detail/CVE-2026-112900, https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.01303%
EPSS Percentile
0.70611%
Introduced Version
9634e437efeeda906ad6bfcc275b17732d64f32a,0
Fix Available
a2c363141da31a265dd536c945677db4b64f3ec9,0:5.1.1-36.el8_10,12.1.1-2ubuntu1.5,5.1.0-1ubuntu0.8+esm3,7.0.0-4ubuntu0.9+esm2,10.2.0-1ubuntu1.5,9.0.1-1ubuntu0.7,0:9.4.0-2.amzn2023.0.12,2.77.0-r5,3.17.2-r2,3.17.2-r3,0.5.0_rc0_git20260729-r6,0.7.0-r11,0.7.0_git20260911-r5,0.12.3-r6,25.5.2_git20260914-r12,13.0.0-r0,2.14.1-r2,6.1.0-r11

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading