Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40192: CWE-770: Allocation of Resources Without Limits or Throttling in python-pillow Pillow

0
High
VulnerabilityCVE-2026-40192cvecve-2026-40192cwe-770cwe-400
Published: Wed Apr 15 2026 (04/15/2026, 22:53:56 UTC)
Source: CVE Database V5
Vendor/Project: python-pillow
Product: Pillow

Description

Pillow versions 10. 3. 0 through 12. 1. 1 contain a vulnerability where the amount of GZIP-compressed data read when decoding FITS images is not limited. This can lead to unbounded memory consumption if a specially crafted FITS file is processed, causing denial of service through out-of-memory crashes or severe performance degradation. Users unable to upgrade immediately should avoid opening FITS images as a temporary mitigation.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 23:31:48 UTC

Technical Analysis

The python-pillow library versions from 10.3.0 up to but not including 12.2.0 do not impose limits on the amount of GZIP-compressed data read during decoding of FITS image files. This lack of throttling allows an attacker to craft a FITS file that triggers excessive memory allocation, resulting in a denial of service condition due to resource exhaustion. The vulnerability is identified as CWE-770 (Allocation of Resources Without Limits or Throttling) and CWE-400 (Uncontrolled Resource Consumption).

Potential Impact

An attacker can cause a denial of service by supplying a malicious FITS image that consumes unbounded memory during decompression, potentially crashing the application or severely degrading its performance. This affects any system using the vulnerable Pillow versions to process FITS images.

Mitigation Recommendations

No official patch or remediation level is currently confirmed. Users should upgrade to Pillow version 12.2.0 or later once available. Until then, users are advised to avoid opening FITS image files to prevent exploitation of this vulnerability.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T20:59:17.620Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e01c6582d89c981fa691af

Added to database: 4/15/2026, 11:16:53 PM

Last enriched: 4/15/2026, 11:31:48 PM

Last updated: 4/16/2026, 12:17:30 AM

Views: 4

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.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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