Pillow is vulnerable to a FITS GZIP decompression bomb

Summary

CVECVE-2026-40192
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-15 23:16:10 UTC
Updated2026-07-10 12:16:47 UTC
DescriptionPillow 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.

Risk And Classification

Primary CVSS: v4.0 8.7 HIGH from [email protected]

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.006710000 probability, percentile 0.476950000 (date 2026-07-12)

Problem Types: CWE-400 | CWE-770 | CWE-409 | CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary8.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED8.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1ADPCVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
None
Integrity
None
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Python Pillow All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Python-pillow Pillow affected >= 10.3.0, < 12.2.0 Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 8 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.16 For RHEL 8 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.16 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.17 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.18 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Satellite 6.19 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat AI Inference Server 3.3 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AI 3.3 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 2.25 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 3.3 Not specified Not specified
ADP Red Hat Red Hat Quay 3.10 Not specified Not specified
ADP Red Hat Red Hat Quay 3.12 Not specified Not specified
ADP Red Hat Red Hat Quay 3.14 Not specified Not specified
ADP Red Hat Red Hat Quay 3.15 Not specified Not specified
ADP Red Hat Red Hat Quay 3.16 Not specified Not specified
ADP Red Hat Red Hat Quay 3.17 Not specified Not specified
ADP Red Hat Red Hat Quay 3.9 Not specified Not specified
ADP Red Hat Lightspeed Core Not specified Not specified
ADP Red Hat OpenShift Lightspeed Not specified Not specified
ADP Red Hat Red Hat AI Inference Server Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 10 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:34366 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24853 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:16030 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24977 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:22629 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/python-pillow/Pillow/pull/9521 [email protected] github.com Issue Tracking, Patch
access.redhat.com/errata/RHSA-2026:16009 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21017 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24762 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:37275 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:16174 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:19375 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:17609 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:16008 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html [email protected] pillow.readthedocs.io Release Notes
access.redhat.com/errata/RHSA-2026:22465 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d8... [email protected] github.com Patch
access.redhat.com/errata/RHSA-2026:34365 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:17611 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j [email protected] github.com Mitigation, Patch, Vendor Advisory
access.redhat.com/errata/RHSA-2026:24866 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:23361 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:34368 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24761 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:19712 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:22840 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-40192 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:27076 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-04-16T00:00:49.590ZReported to Red Hat.
ADP2026-04-15T22:53:56.147ZMade public.

Solutions

ADP: RHSA-2026:24761: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9

ADP: RHSA-2026:27076: Red Hat Satellite 6.16 for RHEL 8, Red Hat Satellite 6.16 for RHEL 9

ADP: RHSA-2026:24762: Red Hat Ansible Automation Platform 2.6 for RHEL 9

ADP: RHSA-2026:34366: Red Hat Satellite 6.17 for RHEL 9

ADP: RHSA-2026:34368: Red Hat Satellite 6.18 for RHEL 9

ADP: RHSA-2026:34365: Red Hat Satellite 6.19 for RHEL 9

ADP: RHSA-2026:16008: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:16030: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:16009: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:16174: Red Hat AI Inference Server 3.3

ADP: RHSA-2026:24866: Red Hat Ansible Automation Platform 2.6

ADP: RHSA-2026:17611: Red Hat Enterprise Linux AI 3.3

ADP: RHSA-2026:17609: Red Hat Enterprise Linux AI 3.3

ADP: RHSA-2026:24977: Red Hat OpenShift AI 2.25

ADP: RHSA-2026:19712: Red Hat OpenShift AI 3.3

ADP: RHSA-2026:37275: Red Hat OpenShift AI 3.3

ADP: RHSA-2026:22840: Red Hat Quay 3.10

ADP: RHSA-2026:22629: Red Hat Quay 3.12

ADP: RHSA-2026:21017: Red Hat Quay 3.14

ADP: RHSA-2026:24853: Red Hat Quay 3.15

ADP: RHSA-2026:19375: Red Hat Quay 3.16

ADP: RHSA-2026:22465: Red Hat Quay 3.17

ADP: RHSA-2026:23361: Red Hat Quay 3.9

Workarounds

ADP: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report