CVE-2026-42310 Pillow: PDF Parsing Trailer Infinite Loop (DoS)
MediumCVSS 5.1
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.
Upgrade path
60 packages: 8 fixed, 51 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 +20 more | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/hub-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9(Red Hat quay 3) | All versions | No fix listed | No fix yet |
| redhat/rhaii/vllm-spyre-rhel9:1787151840(Red Hat ai_inference_server 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/model-opt-cuda-rhel9:1778244559(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-cpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-cuda-rhel9:1778274666(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-neuron-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-rocm-rhel9:1778244531(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-spyre-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/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-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-caikit-nlp-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-caikit-tgis-serving-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-kserve-agent-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-kserve-controller-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-kserve-router-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-kserve-storage-initializer-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-llm-d-inference-scheduler-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mlflow-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
… and 30 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python-pillow Pillow | = >= 4.2.0, < 12.2.0 | No fix listed |
| pypi pillow(PyPI) | >= 4.2.0, < 12.2.0 | 12.2.0 |
| pypi pillow(PyPI) | = 10.0.0 | No fix listed |
| pypi pillow(PyPI) | = 10.0.1 | No fix listed |
| pypi pillow(PyPI) | = 10.1.0 | No fix listed |
| pypi pillow(PyPI) | = 10.2.0 | No fix listed |
| pypi pillow(PyPI) | = 10.3.0 | No fix listed |
| pypi pillow(PyPI) | = 10.4.0 | No fix listed |
| 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) | = 4.2.0 | No fix listed |
| pypi pillow(PyPI) | = 4.2.1 | No fix listed |
| pypi pillow(PyPI) | = 4.3.0 | No fix listed |
| pypi pillow(PyPI) | = 5.0.0 | No fix listed |
| pypi pillow(PyPI) | = 5.1.0 | No fix listed |
| pypi pillow(PyPI) | = 5.2.0 | No fix listed |
| pypi pillow(PyPI) | = 5.3.0 | No fix listed |
| pypi pillow(PyPI) | = 5.4.0 | No fix listed |
| pypi pillow(PyPI) | = 5.4.0.dev0 | No fix listed |
| pypi pillow(PyPI) | = 5.4.1 | No fix listed |
Show 122 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pillow(PyPI) | = 6.0.0 | No fix listed |
| pypi pillow(PyPI) | = 6.1.0 | No fix listed |
| pypi pillow(PyPI) | = 6.2.0 | No fix listed |
| pypi pillow(PyPI) | = 6.2.1 | No fix listed |
| pypi pillow(PyPI) | = 6.2.2 | No fix listed |
| pypi pillow(PyPI) | = 7.0.0 | No fix listed |
| pypi pillow(PyPI) | = 7.1.0 | No fix listed |
| pypi pillow(PyPI) | = 7.1.1 | No fix listed |
| pypi pillow(PyPI) | = 7.1.2 | No fix listed |
| pypi pillow(PyPI) | = 7.2.0 | No fix listed |
| pypi pillow(PyPI) | = 8.0.0 | No fix listed |
| pypi pillow(PyPI) | = 8.0.1 | No fix listed |
| pypi pillow(PyPI) | = 8.1.0 | No fix listed |
| pypi pillow(PyPI) | = 8.1.1 | No fix listed |
| pypi pillow(PyPI) | = 8.1.2 | No fix listed |
| pypi pillow(PyPI) | = 8.2.0 | No fix listed |
| pypi pillow(PyPI) | = 8.3.0 | No fix listed |
| pypi pillow(PyPI) | = 8.3.1 | No fix listed |
| pypi pillow(PyPI) | = 8.3.2 | No fix listed |
| pypi pillow(PyPI) | = 8.4.0 | No fix listed |
| pypi pillow(PyPI) | = 9.0.0 | No fix listed |
| pypi pillow(PyPI) | = 9.0.1 | No fix listed |
| pypi pillow(PyPI) | = 9.1.0 | No fix listed |
| pypi pillow(PyPI) | = 9.1.1 | No fix listed |
| pypi pillow(PyPI) | = 9.2.0 | No fix listed |
| pypi pillow(PyPI) | = 9.3.0 | No fix listed |
| pypi pillow(PyPI) | = 9.4.0 | No fix listed |
| pypi pillow(PyPI) | = 9.5.0 | No fix listed |
| redhat/rhaiis/model-opt-cuda-rhel9:1778244559(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-rocm-rhel9:1778244531(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-cuda-rhel9:1778274666(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/rhaii/vllm-spyre-rhel9:1787151840(Red Hat:ai_inference_server:3.4::el9) | All versions | No fix listed |
| redhat/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9(Red Hat:exploit_intelligence:0) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/rhaiis/vllm-cpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-neuron-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-spyre-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhaiis/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/hub-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat:ansible_automation_platform:2) | 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-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/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-caikit-nlp-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-kserve-agent-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-router-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-inference-scheduler-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mlflow-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-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/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/quay/quay-rhel9(Red Hat:quay:3) | All versions | No fix listed |
| 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) | = 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) | < 11.1.0-5+deb13u3 | 11.1.0-5+deb13u3 |
| 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:14) | < 12.2.0-1 | 12.2.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 |
| python pillow | >= 4.2.0, < 12.2.0 | 12.2.0 |
| ubuntu/pillow(Ubuntu:22.04) | < 9.0.1-1ubuntu0.4 | 9.0.1-1ubuntu0.4 |
| ubuntu/pillow(Ubuntu:24.04) | < 10.2.0-1ubuntu1.2 | 10.2.0-1ubuntu1.2 |
| ubuntu/pillow(Ubuntu:26.04) | < 12.1.1-2ubuntu1.2 | 12.1.1-2ubuntu1.2 |
| azure linux python-pillow(Azure Linux:4.0) | < 0:12.3.0-12.azl4 | 0:12.3.0-12.azl4 |
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7 patch vendor-advisory
- https://github.com/python-pillow/Pillow/pull/9519 issue-tracking patch
- https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468 patch
- https://github.com/python-pillow/Pillow/releases/tag/12.2.0 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- Red Hat CVE page vendor-advisory
- RHSA-2026:16008 patch vendor-advisory
- RHSA-2026:16009 patch vendor-advisory
- RHSA-2026:16030 patch vendor-advisory
- RHSA-2026:57387 patch vendor-advisory
- Red Hat Bugzilla 2468461 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-42310 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8399-1 vendor-advisory
- USN-9064-1: Pillow vulnerabilities vendor-advisory
- USN-9064-2: Pillow regression vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory