cve.bz

CVE-2026-112901 python pillow

6.9 mediumExploit referenceEPSS 0.5%Fix available

Medium (6.9) in python pillow. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 13.0.0.

On this page
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-112901 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112901?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112901?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-112901 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pillowbefore 13.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xgh8-jp6q-p5x8PyPIpillow<13.0.013.0.0
PYSEC-2026-4335PyPIpillow<13.0.013.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pillowno fix listedDEBIAN-CVE-2026-112901
Debian14pillow13.0.0-1DEBIAN-CVE-2026-112901
Ubuntu22.04:LTSpillow9.0.1-1ubuntu0.7UBUNTU-CVE-2026-112901 USN-9064-1
Ubuntu24.04:LTSpillow10.2.0-1ubuntu1.5UBUNTU-CVE-2026-112901 USN-9064-1
Ubuntu26.04:LTSpillow12.1.1-2ubuntu1.5UBUNTU-CVE-2026-112901 USN-9064-1
Ubuntu26.10pillow12.3.0-1ubuntu2UBUNTU-CVE-2026-112901 USN-9064-1
UbuntuPro:14.04:LTSpillow2.3.0-1ubuntu3.4+esm6UBUNTU-CVE-2026-112901 USN-9064-1
UbuntuPro:16.04:LTSpillow3.1.2-0ubuntu1.6+esm4UBUNTU-CVE-2026-112901 USN-9064-1
UbuntuPro:18.04:LTSpillow5.1.0-1ubuntu0.8+esm3UBUNTU-CVE-2026-112901 USN-9064-1
UbuntuPro:20.04:LTSpillow7.0.0-4ubuntu0.9+esm2UBUNTU-CVE-2026-112901 USN-9064-1
UbuntuPro:20.04:LTSpillow-python2no fix listedUBUNTU-CVE-2026-112901
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morepython-Pillow9.5.0-150400.5.28.1SUSE-SU-2026:5194-1
SUSELinux Enterprise Module for Package Hub 15 SP7python-Pillow7.2.0-150300.3.33.1SUSE-SU-2026:5038-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-Pillow11.3.0-160000.9.1SUSE-SU-2026:24656-1
SUSELinux Enterprise Server for NVIDIA 16.1python-Pillow11.3.0-160100.3.1SUSE-SU-2026:24701-1
openSUSELeap 16.0python-Pillow11.3.0-160000.9.1openSUSE-SU-2026:22246-1
openSUSELeap 16.1python-Pillow11.3.0-160100.3.1openSUSE-SU-2026:22301-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because an attacker can cause CPU exhaustion and stall individual service worker processes by submitting a malformed image, without compromising system confidentiality or integrity. In Red Hat environments, Pillow is embedded across multiple platform services and containerized tools to handle graphic operations. Real-world impact is largely confined to endpoints that ingest untrusted image uploads without enforcing strict format restrictions.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1793444554Fixed 2026-11-03RHSA-2026:94702
Red Hat AI Inference Server 3.5rhaii/vllm-rocm-rhel9:1793444456Fixed 2026-11-03RHSA-2026:94709
Red Hat AI Inference Server 3.5rhaii/model-opt-cuda-rhel9:1793444339Fixed 2026-11-03RHSA-2026:94715
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1793444409Fixed 2026-11-03RHSA-2026:94717
Red Hat AI Inference Server 3.5rhaii/vllm-gaudi-rhel9:1793444510Fixed 2026-11-03RHSA-2026:94721
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1793444600Fixed 2026-11-03RHSA-2026:94738
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Out of support scope
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/model-opt-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-neuron-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-spyre-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Fix deferred
70 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-112901.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON