Pillow is vulnerable to a FITS GZIP decompression bomb (CVE-2026-40192)
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.
AI Analysis
Technical Summary
CVE-2026-40192 affects the Pillow Python imaging library by failing to limit the amount of GZIP-compressed data read when decoding FITS image files. This flaw enables a decompression bomb attack that can cause unbounded memory consumption, leading to denial of service via out-of-memory crashes or severe performance degradation. The vulnerability impacts Pillow versions from 10.3.0 up to but not including 12.2.0. Red Hat has identified affected products including Red Hat Enterprise Linux AI 3.3.3 but currently does not provide a patch or fix meeting their criteria. The vulnerability is tracked under CWE-770, CWE-400, and CWE-409, relating to resource allocation without limits and improper handling of compressed data. Mitigation options are limited to avoiding processing FITS images until an update is available.
Potential Impact
The vulnerability allows remote attackers to cause denial of service by triggering unbounded memory consumption during FITS image decoding, potentially crashing the system or severely degrading performance. There is no impact on confidentiality or integrity. The CVSS v3 score is 8.7 (high severity) with network attack vector, no privileges required, and no user interaction needed.
Mitigation Recommendations
Currently, no official fix or patch is available from Red Hat for affected products. Users are advised to avoid opening FITS image files as a workaround to prevent exploitation. Monitor Red Hat advisories for future updates or patches. Customers with Red Hat Technical Account Managers can seek direct guidance. Applying mitigations or upgrading to a fixed version when available is recommended.
Pillow is vulnerable to a FITS GZIP decompression bomb (CVE-2026-40192)
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.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40192 affects the Pillow Python imaging library by failing to limit the amount of GZIP-compressed data read when decoding FITS image files. This flaw enables a decompression bomb attack that can cause unbounded memory consumption, leading to denial of service via out-of-memory crashes or severe performance degradation. The vulnerability impacts Pillow versions from 10.3.0 up to but not including 12.2.0. Red Hat has identified affected products including Red Hat Enterprise Linux AI 3.3.3 but currently does not provide a patch or fix meeting their criteria. The vulnerability is tracked under CWE-770, CWE-400, and CWE-409, relating to resource allocation without limits and improper handling of compressed data. Mitigation options are limited to avoiding processing FITS images until an update is available.
Potential Impact
The vulnerability allows remote attackers to cause denial of service by triggering unbounded memory consumption during FITS image decoding, potentially crashing the system or severely degrading performance. There is no impact on confidentiality or integrity. The CVSS v3 score is 8.7 (high severity) with network attack vector, no privileges required, and no user interaction needed.
Mitigation Recommendations
Currently, no official fix or patch is available from Red Hat for affected products. Users are advised to avoid opening FITS image files as a workaround to prevent exploitation. Monitor Red Hat advisories for future updates or patches. Customers with Red Hat Technical Account Managers can seek direct guidance. Applying mitigations or upgrading to a fixed version when available is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:17609
- Cve Count
- 1
- State
- PUBLISHED
Threat ID: 6a18ab6ee29bf47b50288063
Added to database: 05/28/2026, 20:54:06 UTC
Last enriched: 08/17/2026, 18:43:21 UTC
Last updated: 09/13/2026, 10:01:30 UTC
Views: 270
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.