CVE-2026-40192: CWE-770: Allocation of Resources Without Limits or Throttling in python-pillow Pillow
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
The vulnerability CVE-2026-40192 in the python-pillow Pillow library affects versions 10.3.0 through 12.1.1. It arises from the lack of limits on the amount of GZIP-compressed data read during the decoding of FITS image files. This flaw enables decompression bomb attacks that cause unbounded memory allocation, leading to denial of service conditions such as out-of-memory crashes or significant performance degradation. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling) and CWE-400 (Uncontrolled Resource Consumption). No official patch or remediation level is specified in the provided data, but vendor advisories from Red Hat indicate security updates are available in their distributions.
Potential Impact
Exploitation of this vulnerability can cause denial of service by exhausting system memory resources when processing maliciously crafted FITS images. This may result in application crashes or severe performance degradation, impacting availability of services using the affected Pillow versions.
Mitigation Recommendations
No explicit patch or official fix status is provided in the input data. However, Red Hat advisories reference security updates addressing this issue, indicating that fixes are available in their product updates. Users should apply vendor-provided updates as soon as possible. If immediate upgrade is not feasible, a recommended workaround is to avoid opening FITS image files to prevent triggering the decompression bomb vulnerability.
CVE-2026-40192: CWE-770: Allocation of Resources Without Limits or Throttling in python-pillow 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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-40192 in the python-pillow Pillow library affects versions 10.3.0 through 12.1.1. It arises from the lack of limits on the amount of GZIP-compressed data read during the decoding of FITS image files. This flaw enables decompression bomb attacks that cause unbounded memory allocation, leading to denial of service conditions such as out-of-memory crashes or significant performance degradation. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling) and CWE-400 (Uncontrolled Resource Consumption). No official patch or remediation level is specified in the provided data, but vendor advisories from Red Hat indicate security updates are available in their distributions.
Potential Impact
Exploitation of this vulnerability can cause denial of service by exhausting system memory resources when processing maliciously crafted FITS images. This may result in application crashes or severe performance degradation, impacting availability of services using the affected Pillow versions.
Mitigation Recommendations
No explicit patch or official fix status is provided in the input data. However, Red Hat advisories reference security updates addressing this issue, indicating that fixes are available in their product updates. Users should apply vendor-provided updates as soon as possible. If immediate upgrade is not feasible, a recommended workaround is to avoid opening FITS image files to prevent triggering the decompression bomb vulnerability.
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
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-40192","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24761","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27076","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24762","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16008","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16030","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16009","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16174","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24866","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17611","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17609","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22629","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21017","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24853","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22465","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22840","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23361","vendor":"Red Hat"}]
Threat ID: 69e01c6582d89c981fa691af
Added to database: 04/15/2026, 23:16:53 UTC
Last enriched: 07/30/2026, 22:39:05 UTC
Last updated: 07/31/2026, 21:26:48 UTC
Views: 157
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.