CVE-2026-40192
Last modified
CVE-2026-40192 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | >= 10.3.0, < 12.2.0 |
References
- https://github.com/python-pillow/Pillow/pull/9521Issue Tracking, Patch
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2jMitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40192?
How severe is CVE-2026-40192?
How do I fix CVE-2026-40192?
Are you affected by CVE-2026-40192?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
