cve.bz

CVE-2026-112902

8.3 highEPSS 0.5%Fix available

High (8.3) in python-pillow 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. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to  TIFFSetField()  that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.

Severity

CVSS 4.0

8.3 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.5% estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-10. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-09. 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-686 Function Call With Incorrect Argument Type
Published
Modified
NVD analysis
Under analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-112902 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112902?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112902?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-112902 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 CNA's record in the CVE List.

ProductAffected
python-pillow Pillow< 13.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xvh5-g6gv-559vPyPIpillow<13.0.013.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14pillowno fix listedDEBIAN-CVE-2026-112902
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 4 morepillowno fix listedUBUNTU-CVE-2026-112902
UbuntuPro:20.04:LTSpillow, pillow-python2no fix listedUBUNTU-CVE-2026-112902
SUSELinux Enterprise Module for Package Hub 15 SP7python-Pillow7.2.0-150300.3.33.1SUSE-SU-2026:5038-1
openSUSETumbleweedpython-Pillow13.0.0-2.1openSUSE-SU-2026:12251-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 Important.

Red Hat's statement

This vulnerability is rated as having Important severity because it enables unauthenticated remote attackers to obtain sensitive process memory or terminate worker processes by submitting specially crafted image files. In Red Hat environments, Pillow is commonly deployed in web services and automated pipelines to process and transform user-supplied graphics. Exposure is primarily limited to application workflows that ingest untrusted images and write them out using the TIFF format, where mismatched tag handling leads to out-of-bounds reads. Successful exploitation can defeat address space layout randomization (ASLR) or disrupt image ingestion services through persistent segmentation faults.

Red Hat's mitigation

To mitigate this vulnerability, apply operational controls within applications utilizing Pillow:

1. Restrict output formats: Configure image-processing workflows to avoid re-encoding or exporting untrusted user-submitted files into the TIFF format.

2. Strip metadata: If converting images to TIFF is required, strip or omit untrusted metadata, such as EXIF data or custom tags, before invoking the image save routine.

3. Process isolation: Isolate image rendering and conversion workloads within sandboxed environments or restricted containers with strict memory boundaries to limit access to sensitive memory and minimize the blast radius of worker crashes.

Caveats: Restricting image export formats or stripping metadata may alter downstream image handling and remove required tag information from generated files.

--- CME Mitigation Guidance (2026-11-04) ---

Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to eliminate the forwarding of unvalidated unknown metadata tags to libtiff during TIFF encoding: upgrade to Pillow 13.0.0+ (or the corresponding fixed Red Hat builds), which stop forwarding unvalidated unknown tags to libtiff when saving TIFF images, closing all 2 injection vectors (crafted TIFF image upload, crafted EXIF metadata in JPEG, PNG, or WebP image files). Until patched, this is a concern on applications and workflows accepting untrusted image uploads and re-saving or converting them to TIFF format, so avoid re-encoding untrusted images into the TIFF format, or strip untrusted EXIF metadata and custom tags prior to invoking TIFF save routines. These controls limit blast radius and contain exploitation, but they do not fix the underlying out-of-bounds read defect — apply the upstream patch to fully remediate.

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-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-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-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-omni-cuda-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-rocm-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-spyre-rhel9Affected
73 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-112902.

References

Check your stackJSON