Skip to content
Fencer Vulns
critical 9.8

CVE-2026-112900 json

Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

published 2026-10-19 20 d ago modified 2026-10-29 10 d ago also BIT-pillow-2026-112900 , EUVD-2026-104661 , GHSA-w889-685w-c8fh

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi pillow 13.0.0
  • bitnami pillow 13.0.0
  • python pillow 13.0.0
  • python-Pillow SLE Module for Package Hub 15 SP7 7.2.0-150300.3.33.1

suse advisories SUSE-SU-2026:5038-1

  • python-Pillow openSUSE Tumbleweed 13.0.0-1.1

opensuse advisories openSUSE-SU-2026:12230-1

  • python3-pillow AlmaLinux 8 5.1.1-36.el8_10
  • python3-pillow-tk AlmaLinux 8 5.1.1-36.el8_10

almalinux advisories ALSA-2026:93077

  • python-pillow Rocky Linux 8 5.1.1-36.el8_10

rocky linux advisories RLSA-2026:93077

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-112900 updated

pillow: Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

  • Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9 Red Hat AI Inference Server rhaii/vllm-tpu-rhel9, rhaii/vllm-neuron-rhel9, rhaii-fast/vllm-cpu-rhel9, rhaii-fast/vllm-tpu-rhel9, rhaii-fast/vllm-cuda-rhel9, rhaii-fast/vllm-rocm-rhel9, +5 more Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/disk-image-cuda-rhel9, +2 more Red Hat OpenShift AI (RHOAI) rhai/guidellm-rhel9, rhoai/odh-automl-rhel9, rhoai/odh-mlflow-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-ogx-core-rhel9, rhoai/odh-vllm-cpu-rhel9, +34 more Red Hat Satellite 6 python-pillow, python3.12-pillow
    affected: no fix available
  • Red Hat AI Inference Server 3.5 rhaii/vllm-cpu-rhel9 1793444554, rhaii/vllm-cuda-rhel9 1793444600, rhaii/vllm-rocm-rhel9 1793444456, rhaii/vllm-gaudi-rhel9 1793444510, rhaii/vllm-spyre-rhel9 1793444409, rhaii/model-opt-cuda-rhel9 1793444339
    fixed: vendor fix RHSA-2026:94715
  • Red Hat Enterprise Linux AppStream (v. 8) python-pillow 5.1.1-36.el8_10, python3-pillow 5.1.1-36.el8_10 Red Hat Enterprise Linux CRB (v. 8) python3-pillow 5.1.1-36.el8_10, python3-pillow-tk 5.1.1-36.el8_10
    fixed: vendor fix RHSA-2026:93077
  • Red Hat Ansible Automation Platform 2 python-pillow, python3x-pillow, python3.11-pillow, python3.12-pillow
    not affected: vulnerable code not in execute path
  • Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sane Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-cuda-rhel9, rhoai/odh-vllm-rocm-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-kserve-controller-rhel9, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
19 d ago

Exploit prediction

1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 9.2 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
CNA 4.0 9.2 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
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi pillow
>=2.6.0, <13.0.0
13.0.0
bitnami pillow
>=2.6.0, <13.0.0
13.0.0

Affected products

  • python-pillow Pillow

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.