# CVE-2026-112900: Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.30%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-19T22:07:50.418Z
- Modified: 2026-10-29T10:45:12.177Z
- Also known as: GHSA-w889-685w-c8fh, BIT-PILLOW-2026-112900
- Weaknesses: CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-pillow Pillow: >= 2.6.0, < 13.0.0
- pillow (PyPI): from 2.6.0 before 13.0.0
- python pillow: from 2.6.0 before 13.0.0
- pillow (Bitnami): from 2.6.0 before 13.0.0

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112900> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-112900](https://www.cve.org/CVERecord?id=CVE-2026-112900), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-w889-685w-c8fh](https://github.com/advisories/GHSA-w889-685w-c8fh), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-112900](https://nvd.nist.gov/vuln/detail/CVE-2026-112900), Public domain, modified 2026-10-27
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-112900](https://osv.dev/vulnerability/BIT-PILLOW-2026-112900), Apache-2.0, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-112900 · Whole record: https://cve.day/CVE-2026-112900.json · Rebuilt by cve.day 2026-11-25T22:59:45.963Z
