CVE-2026-112393 json
Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
published 2026-10-19 20 d ago modified 2026-10-27 12 d ago also BIT-pillow-2026-112393 , EUVD-2026-104603 , GHSA-332p-7hrc-92wf
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. 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
- 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-112393 updated cvss 8.1
pillow: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9 Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-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 moreaffected: no fix available
-
Red Hat Ansible Automation Platform 2 python3.12-pillow, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform/automation-dashboard-rhel9, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-26/lightspeed-chatbot-rhel9, +1 moreaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sane 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-cuda-rhel9, +34 more Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9affected: 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 1793444339fixed: 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_10fixed: vendor fix RHSA-2026:93077
-
Red Hat Satellite 6.16 for RHEL 8 python-pyyaml 6.0.1-1.el8pc, python-pillow 13.0.0-1.el8pc, python3.11-pyyaml 6.0.1-1.el8pc, python3.11-pillow 13.0.0-1.el8pc Red Hat Satellite 6.16 for RHEL 9 python-pyyaml 6.0.1-1.el9pc, python-pillow 13.0.0-1.el9pc, python3.11-pyyaml 6.0.1-1.el9pc, python3.11-pillow 13.0.0-1.el9pcfixed: vendor fix RHSA-2026:95655
-
Red Hat Satellite 6.17 for RHEL 9 python-pillow 13.0.0-1.el9pc, python3.11-pillow 13.0.0-1.el9pcfixed: vendor fix RHSA-2026:95656
-
Red Hat Satellite 6.18 for RHEL 9 python3.12-pillow 13.0.0-1.el9pcfixed: vendor fix RHSA-2026:95657
show 5 moreshow fewer
-
Red Hat Satellite 6.19 for RHEL 9 python3.12-pillow 13.0.0-1.el9pcfixed: vendor fix RHSA-2026:92861
-
Red Hat Ansible Automation Platform 2 python-pillow, python3x-pillow, python3.11-pillownot affected: vulnerable code not in execute path
-
Red Hat Lightspeed Services for OCP lightspeed-services-ocp/ocp-rules-rhel9not affected: vulnerable code not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9not affected: component not present
-
Red Hat Satellite 6.16 for RHEL 8 python-nh3 0.3.0-2.el8pc, python-brotli 1.2.1-1.el8pc, python-django 4.2.30-2.el8pc, python-urllib3 2.8.0-1.el8pc, python3.11-nh3 0.3.0-2.el8pc, openvox-agent 8.32.0-1.el8sat, +10 more Red Hat Satellite 6.16 for RHEL 9 python-nh3 0.3.0-2.el9pc, python-brotli 1.2.1-1.el9pc, python-django 4.2.30-2.el9pc, python-urllib3 2.8.0-1.el9pc, python3.11-nh3 0.3.0-2.el9pc, openvox-agent 8.32.0-1.el9sat, +10 more Red Hat Satellite 6.17 for RHEL 9 python-brotli 1.2.1-1.el9pc, python-django 4.2.30-2.el9pc, python-urllib3 2.8.0-1.el9pc, openvox-agent 8.32.0-1.el9sat, openvox-server 8.18.0-1.el9sat, python-gitpython 3.2.1-1.el9pc, +6 more Red Hat Satellite 6.18 for RHEL 9 openvox-agent 8.32.0-1.el9sat, openvox-server 8.18.0-1.el9sat, python3.12-brotli 1.2.1-1.el9pc, python3.12-django 4.2.30-3.el9pc, python3.12-urllib3 2.8.0-1.el9pc, python3.12-gitpython 3.2.1-1.el9pc, +2 more Red Hat Satellite 6.19 for RHEL 9 openvox-agent 8.31.1-1.el9sat, openvox-server 8.17.0-1.el9sat, python3.12-brotli 1.2.1-1.el9pc, python3.12-django 4.2.30-3.el9pc, python3.12-urllib3 2.8.0-1.el9pc, python3.12-gitpython 3.2.1-1.el9pc, +2 morenot 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
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 d ago
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf 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:H/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:H/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.0.0, <13.0.0 |
13.0.0 |
| bitnami | pillow | >=2.0.0, <13.0.0 |
13.0.0 |
Affected products
- python-pillow Pillow
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
-
github.com
/python-pillow/Pillow/commit/11582e5ffbdceb973d5ee593f3105af5a9852b40
web, patch
-
github.com
/python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf
exploit, web, patch, vendor-advisory, advisory
-
github.com
/python-pillow/Pillow/releases/tag/13.0.0
web, release-notes, article
-
nvd.nist.gov
/vuln/detail/CVE-2026-112393
advisory, web
-
github.com
/python-pillow/Pillow
package
Sources
- CVE List CVE-2026-112393
- GitHub Advisory GHSA-332p-7hrc-92wf
- NVD CVE-2026-112393
- OSV BIT-pillow-2026-112393
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.