CVE-2026-112900
Fixed in a distro release EPSS 1%CVSS 9.2
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.
Products: python-pillow Pillow
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | pillow | 13.0.0 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | apache-beam-python-3.12-sdk | 2.77.0-r5 |
| Chainguard | mlflow | no fix |
| Chainguard | mlflow-fips | no fix |
| Chainguard | nemo-gym | 0.5.0_rc0_git20260729-r6 |
| Chainguard | nemo-rl-cuda-13.0 | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-automodel | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-mcore | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-sglang | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-vllm | 0.7.0-r11 |
| Chainguard | nemo-skills | no fix |
| Chainguard | open-webui | no fix |
| Chainguard | open-webui | 0.12.3-r6 |
| Chainguard | openstack-horizon-2025.2 | 25.5.2_git20260914-r12 |
| Chainguard | openstack-horizon-2025.2 | no fix |
| Chainguard | py3.10-pillow | no fix |
| Chainguard | py3.10-pytorch-cuda-12.6 | no fix |
| Chainguard | py3.10-pytorch-cuda-13.0 | no fix |
| Chainguard | py3.10-pytorch-cuda-13.2 | no fix |
| Chainguard | py3.10-vllm-cuda-12.4 | no fix |
| Chainguard | py3.11-pillow | 13.0.0-r0 |
| Chainguard | py3.11-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | py3.12-pillow | 13.0.0-r0 |
| Chainguard | py3.12-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | py3.13-pillow | 13.0.0-r0 |
| Chainguard | py3.13-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | py3.14-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | superset-fips-6.1 | 6.1.0-r11 |
| Debian 12 | pillow | no fix |
| Debian 13 | pillow | no fix |
| Debian 14 | pillow | no fix |
| Ubuntu 22.04 LTS | pillow | no fix |
| Ubuntu 24.04 LTS | pillow | no fix |
| Ubuntu 26.04 LTS | pillow | no fix |
| Ubuntu 26.10 | pillow | no fix |
| Ubuntu Pro 14.04 LTS | pillow | no fix |
| Ubuntu Pro 16.04 LTS | pillow | no fix |
| Ubuntu Pro 18.04 LTS | pillow | no fix |
| Ubuntu Pro 20.04 LTS | pillow | no fix |
| Ubuntu Pro 20.04 LTS | pillow-python2 | no fix |
| Wolfi | mlflow | no fix |
| Wolfi | open-webui | no fix |
| Wolfi | open-webui | 0.12.3-r6 |
| Wolfi | py3.10-pillow | no fix |
| Wolfi | py3.11-pillow | 13.0.0-r0 |
| Wolfi | py3.12-pillow | 13.0.0-r0 |
| Wolfi | py3.13-pillow | 13.0.0-r0 |
| openSUSE Tumbleweed | python-Pillow | 13.0.0-1.1 |