CVE-2026-96639 Pillow multi-frame loaders can reuse stale native image storage after mode transitions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
Upgrade path
73 packages: 5 fixed, 67 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pillow(Debian 12) | = 9.4.0-1.1; = 9.4.0-1.1+deb12u1; = 9.5.0-1; = 10.0.0-1 +21 more | No fix listed | No fix yet |
| debian/pillow(Debian 13) | = 11.1.0-5; = 11.1.0-5+deb13u1; = 11.1.0-5+deb13u2; = 11.1.0-5+deb13u3 +11 more | No fix listed | No fix yet |
| redhat/exploit-intelligence/vulnerability-analysis-rhel9(Red Hat exploit_intelligence 0) | All versions | No fix listed | No fix yet |
| redhat/python-pillow(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/rhai-early-access/docling-sdk-cuda-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhai-early-access/docling-serve-cuda-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhai/guidellm-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/model-opt-cuda-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-cpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-cuda-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-gaudi-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-neuron-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-omni-cuda-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-rocm-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-spyre-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii-fast/vllm-tpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/model-opt-cuda-rhel9:1793444339(Red Hat ai_inference_server 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-cpu-rhel9:1793444554(Red Hat ai_inference_server 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-cuda-rhel9:1793444600(Red Hat ai_inference_server 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-gaudi-rhel9:1793444510(Red Hat ai_inference_server 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-neuron-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-rocm-rhel9:1793444456(Red Hat ai_inference_server 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-spyre-rhel9:1793444409(Red Hat ai_inference_server 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-tpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
… and 43 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pillow(PyPI) | >= 11.0.0, < 13.0.0 | 13.0.0 |
| pypi pillow(PyPI) | = 11.0.0 | No fix listed |
| pypi pillow(PyPI) | = 11.1.0 | No fix listed |
| pypi pillow(PyPI) | = 11.2.1 | No fix listed |
| pypi pillow(PyPI) | = 11.3.0 | No fix listed |
| pypi pillow(PyPI) | = 12.0.0 | No fix listed |
| pypi pillow(PyPI) | = 12.1.0 | No fix listed |
| pypi pillow(PyPI) | = 12.1.1 | No fix listed |
| pypi pillow(PyPI) | = 12.2.0 | No fix listed |
| pypi pillow(PyPI) | = 12.3.0 | No fix listed |
| redhat/rhaii/vllm-cpu-rhel9:1793444554(Red Hat:ai_inference_server:3.5::el9) | All versions | No fix listed |
| redhat/rhaii/vllm-rocm-rhel9:1793444456(Red Hat:ai_inference_server:3.5::el9) | All versions | No fix listed |
| redhat/rhaii/model-opt-cuda-rhel9:1793444339(Red Hat:ai_inference_server:3.5::el9) | All versions | No fix listed |
| redhat/rhaii/vllm-spyre-rhel9:1793444409(Red Hat:ai_inference_server:3.5::el9) | All versions | No fix listed |
| redhat/rhaii/vllm-gaudi-rhel9:1793444510(Red Hat:ai_inference_server:3.5::el9) | All versions | No fix listed |
| redhat/rhaii/vllm-cuda-rhel9:1793444600(Red Hat:ai_inference_server:3.5::el9) | All versions | No fix listed |
| redhat/exploit-intelligence/vulnerability-analysis-rhel9(Red Hat:exploit_intelligence:0) | All versions | No fix listed |
| redhat/rhaii-fast/model-opt-cuda-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-cpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-cuda-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-gaudi-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-neuron-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-omni-cuda-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-rocm-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii-fast/vllm-spyre-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
Show 104 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhaii-fast/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-neuron-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaii/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhai-early-access/docling-sdk-cuda-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhai-early-access/docling-serve-cuda-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhai/guidellm-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-caikit-tgis-serving-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-autogluon-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-storage-initializer-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-llm-d-kv-cache-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ogx-core-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-openvino-model-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cpu-torch210-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cuda130-torch210-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-rocm64-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th-torch-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th-torch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th-torch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-training-cuda128-torch29-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-training-rocm64-torch29-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-trustyai-nemo-guardrails-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-cuda-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-rocm-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/python-pillow(Red Hat:satellite:6) | All versions | No fix listed |
| python-pillow Pillow | = >= 11.0.0, < 13.0.0 | No fix listed |
| python pillow | >= 11.0.0, < 13.0.0 | 13.0.0 |
| ubuntu/pillow(Ubuntu:26.04) | < 12.1.1-2ubuntu1.5 | 12.1.1-2ubuntu1.5 |
| ubuntu/pillow(Ubuntu:26.10) | < 12.3.0-1ubuntu2 | 12.3.0-1ubuntu2 |
| debian/pillow(Debian:12) | All versions | No fix listed |
| debian/pillow(Debian:12) | = 10.0.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 10.1.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 10.2.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 10.3.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 10.3.0-2 | No fix listed |
| debian/pillow(Debian:12) | = 10.4.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 10.4.0-1.1 | No fix listed |
| debian/pillow(Debian:12) | = 11.1.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 11.1.0-2 | No fix listed |
| debian/pillow(Debian:12) | = 11.1.0-3 | No fix listed |
| debian/pillow(Debian:12) | = 11.1.0-4 | No fix listed |
| debian/pillow(Debian:12) | = 11.1.0-5 | No fix listed |
| debian/pillow(Debian:12) | = 11.2.1-1 | No fix listed |
| debian/pillow(Debian:12) | = 11.3.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 12.0.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 12.1.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 12.1.1-1 | No fix listed |
| debian/pillow(Debian:12) | = 12.1.1-2 | No fix listed |
| debian/pillow(Debian:12) | = 12.2.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 12.3.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 13.0.0-1 | No fix listed |
| debian/pillow(Debian:12) | = 9.4.0-1.1 | No fix listed |
| debian/pillow(Debian:12) | = 9.4.0-1.1+deb12u1 | No fix listed |
| debian/pillow(Debian:12) | = 9.5.0-1 | No fix listed |
| debian/pillow(Debian:13) | All versions | No fix listed |
| debian/pillow(Debian:13) | = 11.1.0-5 | No fix listed |
| debian/pillow(Debian:13) | = 11.1.0-5+deb13u1 | No fix listed |
| debian/pillow(Debian:13) | = 11.1.0-5+deb13u2 | No fix listed |
| debian/pillow(Debian:13) | = 11.1.0-5+deb13u3 | No fix listed |
| debian/pillow(Debian:13) | = 11.1.0-5+deb13u4 | No fix listed |
| debian/pillow(Debian:13) | = 11.2.1-1 | No fix listed |
| debian/pillow(Debian:13) | = 11.3.0-1 | No fix listed |
| debian/pillow(Debian:13) | = 12.0.0-1 | No fix listed |
| debian/pillow(Debian:13) | = 12.1.0-1 | No fix listed |
| debian/pillow(Debian:13) | = 12.1.1-1 | No fix listed |
| debian/pillow(Debian:13) | = 12.1.1-2 | No fix listed |
| debian/pillow(Debian:13) | = 12.2.0-1 | No fix listed |
| debian/pillow(Debian:13) | = 12.3.0-1 | No fix listed |
| debian/pillow(Debian:13) | = 13.0.0-1 | No fix listed |
| debian/pillow(Debian:14) | < 13.0.0-1 | 13.0.0-1 |
| debian/pillow(Debian:14) | = 11.1.0-5 | No fix listed |
| debian/pillow(Debian:14) | = 11.2.1-1 | No fix listed |
| debian/pillow(Debian:14) | = 11.3.0-1 | No fix listed |
| debian/pillow(Debian:14) | = 12.0.0-1 | No fix listed |
| debian/pillow(Debian:14) | = 12.1.0-1 | No fix listed |
| debian/pillow(Debian:14) | = 12.1.1-1 | No fix listed |
| debian/pillow(Debian:14) | = 12.1.1-2 | No fix listed |
| debian/pillow(Debian:14) | = 12.2.0-1 | No fix listed |
| debian/pillow(Debian:14) | = 12.3.0-1 | No fix listed |
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/python-pillow/Pillow/pull/10105 issue-tracking patch
- https://github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a patch
- github.com product
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 release-notes vendor-advisory
- Red Hat CVE page vendor-advisory
- RHSA-2026:94702 patch vendor-advisory
- RHSA-2026:94709 patch vendor-advisory
- RHSA-2026:94715 patch vendor-advisory
- RHSA-2026:94717 patch vendor-advisory
- RHSA-2026:94721 patch vendor-advisory
- RHSA-2026:94738 patch vendor-advisory
- Red Hat Bugzilla 2558575 issue-tracking
- www.cve.org
- github.com
- Debian Security Tracker CVE-2026-96639 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-9064-1: Pillow vulnerabilities vendor-advisory
- USN-9064-2: Pillow regression vendor-advisory
- ENISA EUVD EUVD-2026-107573 third-party-advisory