← All Advisories
Reported from OT-Advisories.com as of

Pillow 10.3.0 Through 12.1.1 Reads Unlimited GZIP Data in FITS Images, Enabling a Decompression Bomb

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-40192

Key Details

CVECVE-2026-40192
CVSS Score / Version
7.5 (High) / CVSS v3.1
Updated2026-10-26
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Affected products
see table below
Classified as
CWE-400 (Uncontrolled Resource Consumption)
Exploitation prediction (EPSS)
0.70% probability of exploitation in the next 30 days (54% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat AI Inference Server 3.3
Red HatRed Hat Ansible Automation Platform 2.6
Red HatRed Hat OpenShift AI 3.3
Red HatRed Hat AI Inference Server
Red HatRed Hat OpenShift AI (RHOAI)
Red HatRed Hat OpenShift AI 2.25
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 8
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 9
Red HatRed Hat Ansible Automation Platform 2.6 for RHEL 9
Red HatRed Hat Quay 3.10
Red HatRed Hat Quay 3.12
Red HatRed Hat Quay 3.14
Red HatRed Hat Quay 3.15
Red HatRed Hat Quay 3.16
Red HatRed Hat Quay 3.17
Red HatRed Hat Quay 3.9
Red HatRed Hat Ansible Automation Platform 2
Red HatRed Hat AI Inference Server 3.2
Red HatRed Hat Satellite 6.16 for RHEL 8
Red HatRed Hat Satellite 6.16 for RHEL 9
Red HatRed Hat Satellite 6.17 for RHEL 9
Red HatRed Hat Satellite 6.18 for RHEL 9
Red HatRed Hat Satellite 6.19 for RHEL 9
Red HatRed Hat Enterprise Linux AI 3.3
pythonpillow
python-pillowPillow
Red HatRed Hat AI Inference Server 3.4
Red HatLightspeed Core
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat, python, and python-pillow's web pages for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-40192
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-40192
Vendor advisoryhttps://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j
Vendor advisoryhttps://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628
Vendor advisoryhttps://github.com/python-pillow/Pillow/pull/9521
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.