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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 13.0.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-19 · Modified: 2026-10-20
- Aliases: DEBIAN-CVE-2026-112900, GHSA-w889-685w-c8fh, CGA-69pv-37j8-x778, CGA-g8qv-xwpr-jj9j, CGA-hqxj-g8w8-h96r, CGA-j29c-38g7-fc7p, CGA-9fv8-r2gw-mcvc, CGA-cv67-xw52-p8p8, CGA-h87j-3vhp-w224, CGA-m83x-7w5r-829w, CGA-3fcj-gv6m-5fq8, CGA-998m-h2hq-4pjm, CGA-9xg3-vqm5-jwm6, CGA-cffh-hr89-292x, CGA-fqpj-xp23-fpx4, CGA-g279-qwrr-wgwh, CGA-pfgc-h44w-wwwx, CGA-pq62-mwgr-9vvv, CGA-qcfm-hr5m-5g5p, CGA-qwp9-v673-38qx, CGA-r9pq-9mvc-wmxp, CGA-v9m7-pxgr-26x8, CGA-w685-fq7m-ff82, CGA-wrcx-rwq5-fgw2, CGA-x3mw-h8xh-fp7w, CGA-xjr9-j249-f7w9, CGA-4pww-g692-3fhh, CGA-hx44-3r36-2466, CGA-mqq3-4fpp-fr77, CGA-wx6r-cmhx-vgvg, CGA-xhvh-hp7r-wmj8, CGA-2x8f-v5vc-vq9h, CGA-4jq6-cw99-mj4f, CGA-54wf-6rjg-72mx, CGA-6c48-m23j-mvrg, CGA-76fm-2g9v-7f28, CGA-7rx3-5v9f-39g8, CGA-7wxq-w8gh-29rj, CGA-fqfg-3wxm-q28j, CGA-gcvf-vw5f-vh7c, CGA-xrw6-jmw9-548f, CGA-cr93-8xh6-wv5r, CGA-8vh5-36r9-254r, UBUNTU-CVE-2026-112900, CGA-v3cj-rm3x-mvg5, BIT-pillow-2026-112900
- Record: https://cvemate.com/vulnerability/CVE-2026-112900 · JSON: https://cvemate.com/vulnerability/CVE-2026-112900/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.303%, percentile 71.486%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 36)

- chainguard apache-beam-python-3.12-sdk (Chainguard): All versions (No fix recorded) \| \< 2.77.0-r5
- chainguard mlflow (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r2
- chainguard mlflow-fips (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r3
- chainguard nemo-gym (Chainguard): All versions (No fix recorded) \| \< 0.5.0\_rc0\_git20260729-r6
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-mcore (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-sglang (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-vllm (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-skills (Chainguard): All versions (No fix recorded) \| \< 0.7.0\_git20260911-r5
- chainguard open-webui (Chainguard): \< 0.12.3-r6 \| All versions (No fix recorded)
- chainguard openstack-horizon-2025.2 (Chainguard): All versions (No fix recorded) \| \< 25.5.2\_git20260914-r12
- chainguard py3.10-pillow (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-12.6 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.2 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-vllm-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-pillow (Chainguard): All versions (No fix recorded) \| \< 13.0.0-r0
- chainguard py3.11-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2
- chainguard py3.12-pillow (Chainguard): All versions (No fix recorded) \| \< 13.0.0-r0
- chainguard py3.12-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh>
- <https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9>
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-112900>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112900>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112900.json>
- <https://ubuntu.com/security/CVE-2026-112900>
- <https://www.cve.org/CVERecord?id=CVE-2026-112900>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T03:09:37.605Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
