CVE-2026-40192: Pillow · Unthrottled Resource Allocation
Affects PillowSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 12.2.0 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 12.2.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade Pillow to 12.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| python-pillowPillow | Affected
| Fixed in
|
PyPIpillowpkg:pypi/pillowOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users unable to upgrade immediately should mitigate risk by avoiding opening FITS image files.
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.
References
- github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j (opens in a new tab)
- github.com/python-pillow/Pillow/pull/9521 (opens in a new tab)
- github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628 (opens in a new tab)
- pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-40192 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2458856 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24761 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:27076 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24762 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34366 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34368 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34365 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16008 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16030 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16009 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16174 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24866 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17611 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:17609 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24977 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19712 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:37275 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22629 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21017 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19375 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22465 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22840 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:23361 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57387 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:61628 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:61627 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:61629 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65126 (opens in a new tab)