CVE-2026-112900
9.2CriticalPublished Oct 19, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.8-flash
Critical
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-78, CWE-88
What an attacker gets
Attackers can execute arbitrary commands on the host by supplying a specially crafted filename and argument file to the EPS parser. They need the ability to control the input filename passed to Pillow and control a referenced argument file on disk.
Root cause
EpsImagePlugin fails to sanitize or convert input filenames into safe absolute paths before passing them to Ghostscript, allowing filenames starting with hyphens or '@' to be interpreted as command-line options.
Affected versions
Pillow 2.6.0 through versions prior to 13.0.0
CVSS v4.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
Fix & remediation
Upgrade Pillow to version 13.0.0 or later. If patching immediately is not possible, disable EPS handling or validate and reject EPS filenames starting with '-' or '@'.
$ pip install --upgrade 'pillow>=13.0.0'AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-936489.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted iCalendar invitation. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-936469.8CriticalUnauthenticated attackers can execute arbitrary commands as the zimbra user. They only need network access to the Zimbra server to exploit the flawed token authorization.
- CVE-2026-1378379.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in the Zimbra origin to steal mailbox data or perform actions as the user. This requires a signed-in user to open a malicious XML attachment.
- CVE-2026-1378369.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in the Zimbra origin by sending a crafted XML attachment. A signed-in user must open the attachment for the script to execute, granting the attacker access to mailbox data and authenticated actions.
- CVE-2026-1378359.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted email. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-887669.3CriticalLocal attackers can achieve arbitrary code execution with system privileges by sending a crafted APDU command to the VSIM service. This exploit requires local access to the device.