8.7

CVE-2026-40192: python-pillow pillow Uncontrolled Resource Consumption

CVSS: 8.7v4.0HighModified
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.87% chance of exploitation in the next 30 days, higher than 58% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.87%
0%100%
Low · +0.20 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.87%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

+0.20 pp

From 0.67% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.87%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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< 11.1.0-5+deb13u2 | < 12.2.0-1
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