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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 12.2.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-04-15 · Modified: 2026-09-10
- Aliases: GHSA-whj4-6x5x-4v2j, BIT-pillow-2026-40192, PYSEC-2026-2250, UBUNTU-CVE-2026-40192, DEBIAN-CVE-2026-40192, CGA-2g23-43p3-hhgg, CGA-5gvv-p777-f7pq, CGA-g24m-f5jf-jq43, CGA-h5hg-4qmv-r69p, CGA-hcjq-9mp6-qvpq, CGA-qph8-5v4f-75qc, CGA-w7qg-8xpr-jm6v, CGA-xc33-g9jf-28g6, openSUSE-SU-2026:10575-1, openSUSE-SU-2026:20617-1, CGA-7c6x-9vrf-f8hr, CGA-8m9m-hr2g-42f5, CGA-9wx4-9qjj-7h75, CGA-fr96-855r-vvr8, CGA-m668-8pr4-wrrx, CGA-rjpr-wgj2-vh97, DSA-6219-1, USN-8211-1
- Record: https://cvemate.com/vulnerability/CVE-2026-40192 · JSON: https://cvemate.com/vulnerability/CVE-2026-40192/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.712%, percentile 54.973%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.16.1-r1
- chainguard litellm (Chainguard): \< 1.83.10.0-r0
- chainguard mlflow (Chainguard): \< 3.16.0-r0
- chainguard open-webui (Chainguard): \< 0.8.12-r4 \| \< 0.9.2-r0 \| \< 0.11.0-r0
- chainguard py3.10-vllm-cuda-12.4 (Chainguard): \< 0.18.1-r1
- chainguard py3.12-vllm-cuda-12.4 (Chainguard): \< 0.18.1-r1
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r10
- chainguard text-generation-inference (Chainguard): \< 3.3.7-r11
- chainguard tritonserver-backend-vllm-cuda-12.9 (Chainguard): \< 25.9.0\_git20260318-r1
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.16.1-r1
- wolfi mlflow (Wolfi): \< 3.16.0-r0
- wolfi open-webui (Wolfi): \< 0.8.12-r4 \| \< 0.9.2-r0 \| \< 0.11.0-r0
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r10
- debian pillow (Debian): \< 12.2.0-1 \| \< 11.1.0-5+deb13u2
- ubuntu pillow (Ubuntu): \< 11.3.0-1ubuntu1.2 \| \< 12.1.1-2ubuntu1.1
- PyPI pillow (PyPI): ≥ 10.3.0, \< 12.2.0
- python-pillow pillow: ≥ 10.3.0, \< 12.2.0
- python pillow: ≥ 10.3.0, \< 12.2.0
- opensuse python-Pillow&distro=openSUSE Leap 16.0 (openSUSE): \< 11.3.0-160000.4.1
- opensuse python-Pillow&distro=openSUSE Tumbleweed (openSUSE): \< 12.2.0-2.1

## References (first 20 of 44)

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j>
- <https://github.com/python-pillow/Pillow/pull/9521>
- <https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628>
- <https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb>
- <https://access.redhat.com/security/cve/CVE-2026-40192>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2458856>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json>
- <https://access.redhat.com/errata/RHSA-2026:24761>
- <https://access.redhat.com/errata/RHSA-2026:27076>
- <https://access.redhat.com/errata/RHSA-2026:24762>
- <https://access.redhat.com/errata/RHSA-2026:34366>
- <https://access.redhat.com/errata/RHSA-2026:34368>
- <https://access.redhat.com/errata/RHSA-2026:34365>
- <https://access.redhat.com/errata/RHSA-2026:61628>
- <https://access.redhat.com/errata/RHSA-2026:61627>
- <https://access.redhat.com/errata/RHSA-2026:61629>
- <https://access.redhat.com/errata/RHSA-2026:16008>
- <https://access.redhat.com/errata/RHSA-2026:16030>
- <https://access.redhat.com/errata/RHSA-2026:16009>
- <https://access.redhat.com/errata/RHSA-2026:16174>

---

Data as of 2026-12-05T04:02:59.047Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
