Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-112900

Опубликовано: 19 окт. 2026
Источник: redhat
EPSS Низкий

Описание

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.

A flaw was found in Pillow. This vulnerability may allow an attacker to achieve arbitrary code execution when processing Encapsulated PostScript (EPS) images. Because Pillow invokes the external Ghostscript utility without properly sanitizing user-controlled input filenames, names beginning with specific command prefixes are misinterpreted as options rather than file paths. An attacker who controls the filename and can supply an additional file containing command arguments can exploit this argument injection to execute arbitrary commands on the system.

Отчет

This vulnerability is rated Critical because an attacker capable of supplying an unvalidated filename to image handling services can achieve arbitrary remote code execution via argument injection into Ghostscript. In Red Hat environments, exploitation requires the host application to process Encapsulated PostScript files, have the optional Ghostscript package installed, and allow an attacker to place an auxiliary argument file on the target system. Workloads that do not accept untrusted filenames or that run in environments without the external Ghostscript binary are not susceptible to this attack vector.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/model-opt-cuda-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-cpu-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-cuda-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-gaudi-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-neuron-rhel9Will not fix
Red Hat AI Inference Serverrhaii-fast/vllm-omni-cuda-rhel9Will not fix
Red Hat AI Inference Serverrhaii-fast/vllm-rocm-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-spyre-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-tpu-rhel9Will not fix

Показывать по

Дополнительная информация

Статус:

Critical
Дефект:
CWE-88
https://bugzilla.redhat.com/show_bug.cgi?id=2555889pillow: Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

EPSS

Процентиль: 71%
0.01303
Низкий

Связанные уязвимости

CVSS3: 9.8
ubuntu
30 дней назад

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.

CVSS3: 9.8
nvd
30 дней назад

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.

CVSS3: 9.8
msrc
1 день назад

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

CVSS3: 9.8
debian
30 дней назад

Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is ...

github
28 дней назад

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

EPSS

Процентиль: 71%
0.01303
Низкий