CVE-2026-40192
HIGH EPSS 38.1%
Published Apr 15, 20262mo ago · Modified Jun 17, 20262w ago
8.7 CVSS 4.0
Published Apr 15, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
38.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-400 Uncontrolled Resource Consumption Resource Mgmt
CWE-770
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| python | pillow | * | ≥10.3.0 – <12.2.0 |
References 4
- github.com https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628
- github.com https://github.com/python-pillow/Pillow/pull/9521
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb
Remediation
- github.com https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628
- github.com https://github.com/python-pillow/Pillow/pull/9521
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j