Pillow: Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS
Affects pillowSource GCVE Database
Not known to be exploited · CVSS 8.7 High · fixed in 11.3.0-1ubuntu1.2 : patch pillow soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 11.3.0-1ubuntu1.2, 12.1.1-2ubuntu1.1
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 24 Nov 2026.
What to do
Upgrade the Ubuntu pillow to 11.3.0-1ubuntu1.2 (package) or 12.1.1-2ubuntu1.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10pillowpkg:deb/ubuntu/pillow?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
- ubuntu.com/security/CVE-2026-40192 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40192 (opens in a new tab)
- 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)
- ubuntu.com/security/notices/USN-8211-1 (opens in a new tab)