# CVE-2026-40192: Pillow is vulnerable to a FITS GZIP decompression bomb

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-04-13T19:22:35.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-whj4-6x5x-4v2j, BIT-PILLOW-2026-40192, PYSEC-2026-2250
- Weaknesses: CWE-400, CWE-409, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-pillow Pillow: >= 10.3.0, < 12.2.0
- python3.12-pillow: no versions given (not affected: from 0:12.2.0-1.el8ap before *; from 0:12.2.0-1.el9ap before *; from 0:12.2.0-1.el9pc before *)
- python-pillow: no versions given (not affected: from 0:12.2.0-1.el8pc before *; from 0:12.2.0-1.el9pc before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1787860580 before *; from 1778274666 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1787772157 before *; from 1778244559 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1787884873 before *; from 1778244531 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1778244546 before *)
- rhaii/vllm-spyre-rhel9: no versions given (not affected: from 1787151840 before *)
- ansible-automation-platform-26/hub-rhel9: no versions given (not affected: from 1779761061 before *)
- ansible-automation-platform-26/lightspeed-chatbot-rhel9: no versions given (not affected: from 1780102732 before *)
- rhelai3/disk-image-cuda-rhel9: no versions given (not affected: from 1778690639 before *)
- rhelai3/bootc-aws-cuda-rhel9: no versions given (not affected: from 1778677633 before *)
- rhelai3/bootc-azure-cuda-rhel9: no versions given (not affected: from 1778677632 before *)
- rhelai3/bootc-azure-rocm-rhel9: no versions given (not affected: from 1778677745 before *)
- rhelai3/bootc-cuda-rhel9: no versions given (not affected: from 1778666122 before *)
- rhelai3/bootc-gcp-cuda-rhel9: no versions given (not affected: from 1778677632 before *)
- rhelai3/bootc-rocm-rhel9: no versions given (not affected: from 1778666124 before *)
- rhoai/odh-caikit-tgis-serving-rhel9: no versions given (not affected: from 1780388133 before *)
- rhoai/odh-vllm-rocm-rhel9: no versions given (not affected: from 1786711151 before *)
- rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9: no versions given (not affected: from 1778677779 before *)
- rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9: no versions given (not affected: from 1778677692 before *)
- rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9: no versions given (not affected: from 1778262893 before *)
- rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9: no versions given (not affected: from 1778677701 before *)
- rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9: no versions given (not affected: from 1778677741 before *)
- rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9: no versions given (not affected: from 1778677767 before *)
- rhoai/odh-training-cuda128-torch29-py312-rhel9: no versions given (not affected: from 1779123334 before *)
- rhoai/odh-training-rocm64-torch29-py312-rhel9: no versions given (not affected: from 1778263128 before *)
- rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9: no versions given (not affected: from 1778782933 before *)
- rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9: no versions given (not affected: from 1778677718 before *)
- rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9: no versions given (not affected: from 1778677716 before *)
- rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9: no versions given (not affected: from 1778263054 before *)
- rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9: no versions given (not affected: from 1778677734 before *)
- rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9: no versions given (not affected: from 1778677667 before *)
- rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9: no versions given (not affected: from 1778677717 before *)
- rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9: no versions given (not affected: from 1778677722 before *)
- rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9: no versions given (not affected: from 1782472374 before *)
- rhoai/odh-trustyai-nemo-guardrails-server-rhel9: no versions given (not affected: from 1782471606 before *)
- quay/quay-rhel8: no versions given (not affected: from 1779822261 before *; from 1779811412 before *; from 1779689392 before *; from 1780891395 before *; from 1779811473 before *)
- quay/quay-rhel9: no versions given (not affected: from 1779204086 before *; from 1779922205 before *)
- lightspeed-core/rag-tool-rhel9: no versions given
- openshift-lightspeed/lightspeed-ocp-rag-rhel9: no versions given
- openshift-lightspeed/lightspeed-service-api-rhel9: no versions given
- openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9: no versions given
- rhaiis/vllm-cpu-rhel9: no versions given
- rhaiis/vllm-neuron-rhel9: no versions given
- rhaiis/vllm-tpu-rhel9: no versions given
- ansible-automation-platform-25/lightspeed-chatbot-rhel8: no versions given
- rhoai/odh-caikit-nlp-rhel9: no versions given
- rhoai/odh-kserve-agent-rhel9: no versions given
- rhoai/odh-kserve-controller-rhel9: no versions given
- rhoai/odh-kserve-router-rhel9: no versions given
- rhoai/odh-kserve-storage-initializer-rhel9: no versions given
- rhoai/odh-llama-stack-core-rhel9: no versions given
- rhoai/odh-llm-d-inference-scheduler-rhel9: no versions given
- rhoai/odh-mlflow-rhel9: no versions given
- rhoai/odh-openvino-model-server-rhel9: no versions given
- rhoai/odh-vllm-cuda-rhel9: no versions given
- rhoai/odh-vllm-gaudi-rhel9: no versions given
- pillow (PyPI): from 10.3.0 before 12.2.0
- python pillow: from 10.3.0 before 12.2.0
- and 1 more: see the JSON

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j> (advisory, fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/pull/9521> (fix, issue-tracking, patch, web)
- <https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628> (fix, patch, web)
- <https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb> (advisory, article, release-notes, web)
- <https://access.redhat.com/security/cve/CVE-2026-40192> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2458856> (issue-tracking, report, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:24761> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:27076> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:24762> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:34366> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:34368> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:34365> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:61628> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:61627> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:61629> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:16008> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:16030> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:16009> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:16174> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:57387> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:24866> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17611> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17609> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:24977> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:65126> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19712> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:37275> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22840> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22629> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:21017> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:24853> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19375> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22465> (advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:23361> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40192> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-40192](https://www.cve.org/CVERecord?id=CVE-2026-40192), CVE Terms of Use, modified 2026-09-10
- GitHub Advisory Database: [GHSA-whj4-6x5x-4v2j](https://github.com/advisories/GHSA-whj4-6x5x-4v2j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-40192](https://nvd.nist.gov/vuln/detail/CVE-2026-40192), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2250](https://osv.dev/vulnerability/PYSEC-2026-2250), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-40192](https://osv.dev/vulnerability/BIT-PILLOW-2026-40192), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-40192 · Whole record: https://cve.day/CVE-2026-40192.json · Rebuilt by cve.day 2026-11-25T22:59:18.881Z
