CVE-2026-40192 Pillow is vulnerable to a FITS GZIP decompression bomb
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.
Upgrade path
86 packages: 22 fixed, 3 partially fixed, 60 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | = 7; All versions | No fix listed | No fix yet |
| redhat lightspeed core | All versions | No fix listed | No fix yet |
| redhat openshift lightspeed | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/hub-rhel9:1779761061(Red Hat ansible_automation_platform 2.6 el9) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732(Red Hat ansible_automation_platform 2.6 el9) | All versions | No fix listed | No fix yet |
| redhat/lightspeed-core/rag-tool-rhel9(Red Hat lightspeed_core) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-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/python-pillow(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1779689392(Red Hat quay 3.14 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1779811412(Red Hat quay 3.12 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1779811473(Red Hat quay 3.9 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1779822261(Red Hat quay 3.10 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1780891395(Red Hat quay 3.15 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9:1779204086(Red Hat quay 3.16 el9) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9:1779922205(Red Hat quay 3.17 el9) | 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/model-opt-cuda-rhel9:1787772157(Red Hat ai_inference_server 3.2 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-cuda-rhel9:1787860580(Red Hat ai_inference_server 3.2 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-rocm-rhel9:1787884873(Red Hat ai_inference_server 3.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-spyre-rhel9:1778244546(Red Hat ai_inference_server 3.3 el9) | 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:1778677633(Red Hat enterprise_linux_ai 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9:1778677632(Red Hat enterprise_linux_ai 3.3 el9) | All versions | No fix listed | No fix yet |
… and 56 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pillow(PyPI) | >= 10.3.0, < 12.2.0 | 12.2.0 |
| 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 |
| python-pillow Pillow | = >= 10.3.0, < 12.2.0 | No fix listed |
| redhat ansible automation platform | < 0:12.2.0-1.el8ap | 0:12.2.0-1.el8ap |
| redhat ansible automation platform | < 0:12.2.0-1.el9ap | 0:12.2.0-1.el9ap |
| redhat satellite | < 0:12.2.0-1.el8pc | 0:12.2.0-1.el8pc |
| redhat satellite capsule | < 0:12.2.0-1.el8pc | 0:12.2.0-1.el8pc |
| redhat satellite | < 0:12.2.0-1.el9pc | 0:12.2.0-1.el9pc |
| redhat satellite capsule | < 0:12.2.0-1.el9pc | 0:12.2.0-1.el9pc |
| redhat ai inference server | < 1787860580 | 1787860580 |
| redhat ai inference server | < 1787772157 | 1787772157 |
| redhat ai inference server | < 1787884873 | 1787884873 |
| redhat ai inference server | < 1778244559 | 1778244559 |
| redhat ai inference server | < 1778244531 | 1778244531 |
| redhat ai inference server | < 1778274666 | 1778274666 |
| redhat ai inference server | < 1778244546 | 1778244546 |
| redhat ai inference server | < 1787151840 | 1787151840 |
Show 127 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible automation platform | < 1779761061 | 1779761061 |
| redhat ansible automation platform | < 1780102732 | 1780102732 |
| redhat enterprise linux ai | < 1778690639 | 1778690639 |
| redhat enterprise linux ai | < 1778677633 | 1778677633 |
| redhat enterprise linux ai | < 1778677632 | 1778677632 |
| redhat enterprise linux ai | < 1778677745 | 1778677745 |
| redhat enterprise linux ai | < 1778666122 | 1778666122 |
| redhat enterprise linux ai | < 1778666124 | 1778666124 |
| redhat openshift ai | < 1780388133 | 1780388133 |
| redhat openshift ai | < 1786711151 | 1786711151 |
| redhat openshift ai | < 1778677779 | 1778677779 |
| redhat openshift ai | < 1778677692 | 1778677692 |
| redhat openshift ai | < 1778262893 | 1778262893 |
| redhat openshift ai | < 1778677701 | 1778677701 |
| redhat openshift ai | < 1778677741 | 1778677741 |
| redhat openshift ai | < 1778677767 | 1778677767 |
| redhat openshift ai | < 1779123334 | 1779123334 |
| redhat openshift ai | < 1778263128 | 1778263128 |
| redhat openshift ai | < 1778782933 | 1778782933 |
| redhat openshift ai | < 1778677718 | 1778677718 |
| redhat openshift ai | < 1778677716 | 1778677716 |
| redhat openshift ai | < 1778263054 | 1778263054 |
| redhat openshift ai | < 1778677734 | 1778677734 |
| redhat openshift ai | < 1778677667 | 1778677667 |
| redhat openshift ai | < 1778677717 | 1778677717 |
| redhat openshift ai | < 1778677722 | 1778677722 |
| redhat openshift ai | < 1782472374 | 1782472374 |
| redhat openshift ai | < 1782471606 | 1782471606 |
| redhat quay | < 1779822261 | 1779822261 |
| redhat quay | < 1779811412 | 1779811412 |
| redhat quay | < 1779689392 | 1779689392 |
| redhat quay | < 1780891395 | 1780891395 |
| redhat quay | < 1779204086 | 1779204086 |
| redhat quay | < 1779922205 | 1779922205 |
| redhat quay | < 1779811473 | 1779811473 |
| redhat lightspeed core | All versions | No fix listed |
| redhat openshift lightspeed | All versions | No fix listed |
| redhat ai inference server | All versions | No fix listed |
| redhat ansible automation platform | All versions | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| debian/pillow(Debian:13) | < 11.1.0-5+deb13u2 | 11.1.0-5+deb13u2 |
| 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: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 |
| redhat/python3.12-pillow(Red Hat:ansible_automation_platform:2.5::el8) | < 12.2.0-1.el8ap | 12.2.0-1.el8ap |
| redhat/python3.12-pillow(Red Hat:ansible_automation_platform:2.5::el9) | < 12.2.0-1.el9ap | 12.2.0-1.el9ap |
| redhat/python3.12-pillow(Red Hat:ansible_automation_platform:2.6::el9) | < 12.2.0-1.el9ap | 12.2.0-1.el9ap |
| redhat/python-pillow(Red Hat:satellite:6.16::el8) | < 12.2.0-1.el8pc | 12.2.0-1.el8pc |
| redhat/python-pillow(Red Hat:satellite_capsule:6.16::el8) | < 12.2.0-1.el8pc | 12.2.0-1.el8pc |
| redhat/python-pillow(Red Hat:satellite:6.16::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python-pillow(Red Hat:satellite_capsule:6.16::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python-pillow(Red Hat:satellite:6.17::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python-pillow(Red Hat:satellite_capsule:6.17::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python3.12-pillow(Red Hat:satellite:6.18::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python3.12-pillow(Red Hat:satellite_capsule:6.18::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python3.12-pillow(Red Hat:satellite:6.19::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/python3.12-pillow(Red Hat:satellite_capsule:6.19::el9) | < 12.2.0-1.el9pc | 12.2.0-1.el9pc |
| redhat/rhaiis/vllm-cuda-rhel9:1787860580(Red Hat:ai_inference_server:3.2::el9) | All versions | No fix listed |
| redhat/rhaiis/model-opt-cuda-rhel9:1787772157(Red Hat:ai_inference_server:3.2::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-rocm-rhel9:1787884873(Red Hat:ai_inference_server:3.2::el9) | All versions | 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/rhaiis/vllm-spyre-rhel9:1778244546(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/ansible-automation-platform-26/hub-rhel9:1779761061(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9:1778690639(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9:1778677633(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9:1778677632(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9:1778677745(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9:1778666122(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9:1778677632(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9:1778666124(Red Hat:enterprise_linux_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-caikit-tgis-serving-rhel9:1780388133(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-rocm-rhel9:1786711151(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1778677779(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1778677692(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1778262893(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1778677701(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1778677741(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1778677767(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-training-cuda128-torch29-py312-rhel9:1779123334(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-training-rocm64-torch29-py312-rhel9:1778263128(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1778782933(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1778677718(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1778677716(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1778263054(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1778677734(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1778677667(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1778677717(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1778677722(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9:1782472374(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-trustyai-nemo-guardrails-server-rhel9:1782471606(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1779822261(Red Hat:quay:3.10::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1779811412(Red Hat:quay:3.12::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1779689392(Red Hat:quay:3.14::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1780891395(Red Hat:quay:3.15::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1779204086(Red Hat:quay:3.16::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1779922205(Red Hat:quay:3.17::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1779811473(Red Hat:quay:3.9::el8) | All versions | No fix listed |
| redhat/lightspeed-core/rag-tool-rhel9(Red Hat:lightspeed_core) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-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-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/python-pillow(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/python-pillow(Red Hat:enterprise_linux:8) | 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-openvino-model-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-gaudi-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| ubuntu/pillow(Ubuntu:26.04) | < 12.1.1-2ubuntu1.1 | 12.1.1-2ubuntu1.1 |
| python pillow | >= 10.3.0, < 12.2.0 | 12.2.0 |
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j mitigation patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/python-pillow/Pillow/pull/9521 issue-tracking patch
- https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628 patch
- github.com product
- https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb release-notes vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- security.access.redhat.com
- RHSA-2026:16008 patch vendor-advisory
- RHSA-2026:16009 patch vendor-advisory
- RHSA-2026:16030 patch vendor-advisory
- RHSA-2026:16174 patch vendor-advisory
- RHSA-2026:17609 patch vendor-advisory
- RHSA-2026:17611 patch vendor-advisory
- RHSA-2026:19375 patch vendor-advisory
- RHSA-2026:19712 patch vendor-advisory
- RHSA-2026:21017 patch vendor-advisory
- RHSA-2026:22465 patch vendor-advisory
- RHSA-2026:22629 patch vendor-advisory
- RHSA-2026:22840 patch vendor-advisory
- RHSA-2026:23361 patch vendor-advisory
- RHSA-2026:24761 patch vendor-advisory
- RHSA-2026:24762 patch vendor-advisory
- RHSA-2026:24853 patch vendor-advisory
- RHSA-2026:24866 patch vendor-advisory
- RHSA-2026:24977 patch vendor-advisory
- RHSA-2026:27076 patch vendor-advisory
- RHSA-2026:34365 patch vendor-advisory
- RHSA-2026:34366 patch vendor-advisory
- RHSA-2026:34368 patch vendor-advisory
- RHSA-2026:37275 patch vendor-advisory
- RHBZ#2458856 issue-tracking
- RHSA-2026:61628 patch vendor-advisory
- RHSA-2026:61627 patch vendor-advisory
- RHSA-2026:61629 patch vendor-advisory
- RHSA-2026:57387 patch vendor-advisory
- RHSA-2026:65126 patch vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-40192 vendor-advisory
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- USN-8211-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-23130 third-party-advisory