8.7High

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

python-pillow Pillow; Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8; Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9; Red Hat Red Hat A… Published: (7 months ago)

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.

Weakness (CWE): CWE-770CWE-400CWE-409

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ai inference server 3.2 —
ai inference server 3.3 —
ai inference server 3.4 —
ansible automation platform 2.5 —
ansible automation platform 2.6 —
enterprise linux ai 3.3 —
openshift ai 2.25 —
openshift ai 3.3 —
python pillow 10.3.0 – < 12.2.0
python-pillow Pillow >= 10.3.0, < 12.2.0
quay 3.10 —
quay 3.12 —
quay 3.14 —
quay 3.15 —
quay 3.16 —
quay 3.17 —
quay 3.9 —
Red Hat Lightspeed Core all versions
Red Hat OpenShift Lightspeed all versions
Red Hat Red Hat AI Inference Server all versions
Red Hat Red Hat AI Inference Server 3.2 all versions
Red Hat Red Hat AI Inference Server 3.3 all versions
Red Hat Red Hat AI Inference Server 3.4 all versions
Red Hat Red Hat Ansible Automation Platform 2 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux AI 3.3 all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI 3.3 all versions
Red Hat Red Hat OpenShift AI (RHOAI) all versions
Red Hat Red Hat Quay 3.10 all versions
Red Hat Red Hat Quay 3.12 all versions
Red Hat Red Hat Quay 3.14 all versions
Red Hat Red Hat Quay 3.15 all versions
Red Hat Red Hat Quay 3.16 all versions
Red Hat Red Hat Quay 3.17 all versions
Red Hat Red Hat Quay 3.9 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 8 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.17 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.18 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.19 for RHEL 9 all versions
satellite 6.16 —
satellite 6.17 —
satellite 6.18 —
satellite 6.19 —
satellite capsule 6.16 —
satellite capsule 6.17 —
satellite capsule 6.18 —
satellite capsule 6.19 —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* ≥ 10.3.0 < 12.2.0