Back to CVE records
High 8.7Published Apr 15, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects python-pillow Pillow and 11 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
8.7 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-770, CWE-400, CWE-409
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Modified
Record last updated
Sep 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
python-pillow Pillow
python_pillow:pillow (from the name)
from 10.3.0, < 12.2.0
CNA record
from 0:12.2.0-1.el8ap not affected
CISA ADP
from 0:12.2.0-1.el8pc not affected
CISA ADP
from 0:12.2.0-1.el8pc not affected
CISA ADP
Red Hat Red Hat AI Inference Server 3.2
redhat:ai_inference_server
from 1787860580 not affected
CISA ADP
Red Hat Red Hat Enterprise Linux AI 3.3
redhat:enterprise_linux_ai
from 1778690639 not affected
CISA ADP
from 1780388133 not affected
CISA ADP
from 1779822261 not affected
CISA ADP
Red Hat Lightspeed Core
redhat:lightspeed_core
All versions
CISA ADP
Red Hat OpenShift Lightspeed
redhat:openshift_lightspeed
Versions not stated
CISA ADP

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.