8.7

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

Modified
AliasesGHSA-whj4-6x5x-4v2jBIT-pillow-2026-40192PYSEC-2026-2250
Published 15-04-2026Last modified 10-09-2026

Vulnerability summary

CVE-2026-40192 is a high (CVSS 8.7) Uncontrolled Resource Consumption vulnerability in python-pillow pillow. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 54.9% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.71%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 2

Timeline

  1. 15-04-2026
    PublishedVulnerability first disclosed.
  2. 10-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.71%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.67% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard9 products
  • kubeflow-pipelines-visualization-server< 2.16.1-r1
  • litellm< 1.83.10.0-r0
  • mlflow< 3.16.0-r0
  • open-webui< 0.8.12-r4 | < 0.9.2-r0 | < 0.11.0-r0
  • py3.10-vllm-cuda-12.4< 0.18.1-r1
Wolfi4 products
  • kubeflow-pipelines-visualization-server< 2.16.1-r1
  • mlflow< 3.16.0-r0
  • open-webui< 0.8.12-r4 | < 0.9.2-r0 | < 0.11.0-r0
  • superset-6.0< 6.0.0-r10
Opensuse2 products
  • python-Pillow&distro=openSUSE Leap 16.0< 11.3.0-160000.4.1
  • python-Pillow&distro=openSUSE Tumbleweed< 12.2.0-2.1
Debian1 product
  • pillow< 12.2.0-1 | < 11.1.0-5+deb13u2
PyPI1 product
  • pillow≥ 10.3.0, < 12.2.0
Python1 product
Python-pillow1 product
Ubuntu1 product
  • pillow< 11.3.0-1ubuntu1.2 | < 12.1.1-2ubuntu1.1

8 vendors · 20 products

References

44 links
Show all 44 references