CVE-2026-96644 json
Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
published 2026-10-21 18 d ago modified 2026-10-29 10 d ago also BIT-pillow-2026-96644 , EUVD-2026-107563 , GHSA-9v9v-9qvf-h2hj , PYSEC-2026-4343
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler sizes a DIB allocation from 16-bit-truncated bcWidth and bcHeight fields but copies pixel data using the original full dimensions. A crafted wide, short metafile can pass the pixel-count decompression-bomb check and make the Windows-only renderer read beyond the heap buffer, potentially disclosing memory or crashing the process. 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
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-96644 updated cvss 7.1
pillow: Pillow: Denial of Service via out-of-bounds read in metafile parser
-
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-rhel9affected: workaround, no fix available
-
Red Hat AI Inference Server rhaii/vllm-tpu-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9, rhaii/vllm-neuron-rhel9, +3 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 python3.12-pillow 12.3.0-1.el9ap, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-26/lightspeed-chatbot-rhel9, ansible-automation-platform-27/lightspeed-chatbot-rhel9 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 Lightspeed Services for OCP lightspeed-services-ocp/ocp-rules-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-automl-rhel9, rhoai/odh-mlflow-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-ogx-core-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, +30 more Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9affected: workaround, 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 OpenShift AI 3.4 rhoai/odh-openvino-model-server-rhel9 1792683954fixed: vendor fix RHSA-2026:92510
-
Red Hat OpenShift AI 3.5 rhai/guidellm-rhel9 1793719302fixed: vendor fix RHSA-2026:94631
-
Red Hat Ansible Automation Platform 2 python-pillow 10.3.0-1.el9ap, python3x-pillow 10.3.0-1.el8ap, python3.11-pillow 10.3.0-1.el8ap, ansible-automation-platform/automation-dashboard-rhel9, ansible-automation-platform-25/lightspeed-chatbot-rhel8not affected: vulnerable code not present
-
Red Hat Enterprise Linux 8 python3-pillow, python3-pillow-tk, python-pillow 10.3.0-1.el9ap 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
show 1 moreshow fewer
-
Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1792722177, rhoai/rhai-cli-rhel9 1792722177, rhoai/odh-automl-rhel9 1792697253, rhoai/odh-mlflow-rhel9 1793002327, rhoai/odh-autorag-rhel9 1793265800, rhoai/odh-trainer-rhel9 1792817113, +99 more Red Hat Satellite 6 python-pillow 10.3.0-1.el9ap, python3.12-pillow 12.3.0-1.el9apnot 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
- partial
- Assessed
- 11 d ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/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 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pillow | <13.0.0 |
13.0.0 |
| bitnami | pillow | <13.0.0 |
13.0.0 |
Affected products
- python-pillow Pillow
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/python-pillow/Pillow/pull/10120
web, issue-tracking, report
-
github.com
/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7
web, patch
-
github.com
/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj
exploit, web, vendor-advisory, advisory
-
github.com
/python-pillow/Pillow/releases/tag/13.0.0
web, release-notes, article, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-96644
advisory, web
-
github.com
/python-pillow/Pillow
package
Sources
- CVE List CVE-2026-96644
- GitHub Advisory GHSA-9v9v-9qvf-h2hj
- NVD CVE-2026-96644
- OSV BIT-pillow-2026-96644
- OSV PYSEC-2026-4343
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.