CVE-2026-40192
Pillow: Pillow: Denial of Service via decompression bomb in FITS image processing
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400, CWE-770, CWE-409
Affected packages · 2
Operating systems · 24 fixes
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow | affected |
| 7 | python-pillow +5 | eol |
| 7 (satellite:el8) | python-pillow | affected |
| 8 | python-pillow +4 | wont fix |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-pillow +1 | 11.3.0-160000.4.1 | SUSE-SU-2026:21382-1 |
chainguard 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r0 | |
| py3-vllm-cuda-12-4 | 0.18.1-r1 | |
| litellm | 1.83.10.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r1 | |
| tritonserver-backend-vllm-cuda-12-9 | 25.9.0_git20260318-r1 | |
| mlflow | 3.16.0-r0 |
2 more rows
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | pillow | 11.1.0-5+deb13u2 |
| 14 | pillow | 12.2.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | 11.1.0-5+deb13u2 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| label-studio | 1.23.1-r0 | |
| litellm-1-83 | 1.83.10-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python311-pillow +5 | 12.2.0-2.1 | openSUSE-SU-2026:10575-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-pillow +1 | 11.3.0-160000.4.1 | openSUSE-SU-2026:20617-1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 26.04 | pillow | 12.1.1-2ubuntu1.1 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r1 | |
| superset-6-0 | 6.0.0-r10 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:16008
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:16009
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:16030
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:16174
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:17609
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:17611
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19375
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19712
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21017
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22465
Show all 39 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22629
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22840
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:23361
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24761
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24762
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24853
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24977
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:27076
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34365
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34366
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34368
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:37275
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:57387
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:61627
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:61628
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:61629
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:65126
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-40192
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2458856
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628
- github.com https://github.com/python-pillow/Pillow/pull/9521
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-40192
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json
- ubuntu.com https://ubuntu.com/security/notices/USN-8211-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-40192
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.