CVE-2026-42311 json
Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)
published 2026-05-04 6 mo ago modified 2026-09-10 1 mo ago also BIT-pillow-2026-42311 , EUVD-2026-28903 , GHSA-pwv6-vv43-88gr , PYSEC-2026-2252
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
Patch / fix
- pypi pillow 12.2.0
- bitnami pillow 12.2.0
- python pillow 12.2.0
- pillow Debian 13 11.1.0-5+deb13u3
- pillow Debian 14 12.2.0-1
debian advisories DEBIAN-CVE-2026-42311
- pillow Ubuntu 25.10 11.3.0-1ubuntu1.3
- pillow Ubuntu 26.04 LTS 12.1.1-2ubuntu1.2
ubuntu advisories UBUNTU-CVE-2026-42311
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Pillow SLES for SAP applications 16.0, SLES 16.0 11.3.0-160000.6.1
suse advisories SUSE-SU-2026:22626-1
- python-Pillow openSUSE Tumbleweed 12.3.0-1.1
- python-Pillow openSUSE Leap 16.0 11.3.0-160000.6.1
opensuse advisories openSUSE-SU-2026:11261-1openSUSE-SU-2026:21296-1
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-42311 updated cvss 7.8
Pillow: python-pillow: Pillow: Arbitrary code execution via malicious PSD file processing
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9affected: workaround, no fix available
-
Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9, rhaiis/vllm-spyre-rhel9, rhaiis/vllm-neuron-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/lightspeed-chatbot-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9, +10 more Red Hat Quay 3 quay/quay-rhel8affected: workaround, no fix available
-
Red Hat AI Inference Server 3.2 rhaiis/model-opt-cuda-rhel9 1787772157fixed: vendor fix RHSA-2026:61628
-
Red Hat AI Inference Server 3.3 rhaiis 1778244531, rhaiis 1778244559, rhaiis 1778274666fixed: vendor fix RHSA-2026:16008
-
Red Hat AI Inference Server 3.4 rhaii/vllm-spyre-rhel9 1787151840, rhaii/vllm-spyre-rhel9 1789681201, rhaii/vllm-spyre-rhel9 1790076141fixed: vendor fix RHSA-2026:70969
-
Red Hat OpenShift AI 3.4 rhoai/odh-automl-rhel9 1786612415, rhoai/odh-autorag-rhel9 1786612637, rhoai/odh-openvino-model-server-rhel9 1787303251, rhoai/odh-training-rocm64-torch29-py312-rhel9 1786611435, rhoai/odh-training-cuda128-torch29-py312-rhel9 1786611803, rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 1786613209, +1 morefixed: vendor fix RHSA-2026:60520
show 3 moreshow fewer
-
Red Hat Lightspeed Core lightspeed-core/lightspeed-stack-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat AI Inference Server rhaii/vllm-cpu-rhel9, rhaii/vllm-tpu-rhel9, rhaii/vllm-cuda-rhel9, rhaii/vllm-rocm-rhel9, rhaii/vllm-gaudi-rhel9, rhaii/vllm-neuron-rhel9, +1 more Red Hat Ansible Automation Platform 2 python-pillow 10.3.0-1.el9ap, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform/automation-dashboard-rhel9, ansible-automation-platform-26/lightspeed-chatbot-rhel9, ansible-automation-platform-27/lightspeed-chatbot-rhel9 Red Hat Enterprise Linux 7 python-pillow, python-pillow-qt, python-pillow-tk, python-pillow-sane, python-pillow 10.3.0-1.el9ap Red Hat Enterprise Linux 8 python3-pillow, python3-pillow-tk, python-pillow 10.3.0-1.el9apnot affected: vulnerable code not present
+1 more productsfewer
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9 -
Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-rocm-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, rhoai/odh-kserve-controller-rhel9, +10 morenot affected: component not present
-
Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1787330837, rhoai/rhai-cli-rhel9 1787330837, rhoai/odh-mlflow-rhel9 1787226790, rhoai/odh-trainer-rhel9 1787089049, rhoai/odh-eval-hub-rhel9 1787087463, rhoai/odh-maas-api-rhel9 1787153683, +93 more Red Hat Quay 3 quay/quay-rhel9 Red Hat Satellite 6 python-pillow 10.3.0-1.el9ap, python-pillow 12.2.0-1.el8pcnot 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
- 5 mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:L/AC:L/AT:N/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 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pillow | >=10.3.0, <12.2.0 |
12.2.0 |
| bitnami | pillow | >=10.3.0, <12.2.0 |
12.2.0 |
Affected products
- python-pillow Pillow
Classification
References
-
github.com
/python-pillow/Pillow/pull/9520
web, issue-tracking, patch
-
github.com
/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea
web, patch
-
github.com
/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
web, patch, vendor-advisory, advisory
-
github.com
/python-pillow/Pillow/releases/tag/12.2.0
web, product, release-notes, article, advisory
-
github.com
/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-42311
advisory, web
-
github.com
/python-pillow/Pillow
package
Sources
- CVE List CVE-2026-42311
- GitHub Advisory GHSA-pwv6-vv43-88gr
- NVD CVE-2026-42311
- OSV BIT-pillow-2026-42311
- OSV PYSEC-2026-2252
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.