Skip to main content
EPSS 0.7%top 50%

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

0
High
Published: 04/18/2026 (04/18/2026, 08:46:42 UTC)
Source: GCVE Database
Product: pillow

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

Affected versions
>=3.3.0 <=3.3.3>=10.3.0 <12.2.0>= 10.3.0, < 12.2.0Red HatRed Hat Enterprise Linux AIRed Hat Enterprise Linux AI 3.3amd64registry.redhat.io/rhelai3/disk-image-cuda-rhel9@sha256:8fae13d7c13310e2ee707aea7f77c46c6268c0fbec22a00fef4201f8e2caec5d_amd64

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 18:43:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses