CVE-2026-40192: Pillow is a Python imaging library
CVE-2026-40192 is a high-severity flaw (CVSS 7.5) affecting pillow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40192?
pillow: upgrade to 12.2.0. Exact commands for each OS are on this page.
Is CVE-2026-40192 being exploited?
CVE-2026-40192 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40192 affect?
CVE-2026-40192 affects pillow. Severity is high (CVSS 7.5). 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 c
How urgent is CVE-2026-40192?
Priority 44/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-112393 CRITICAL 9.8 UPGRADE Pillow is a Python imaging library
- CVE-2026-112394 HIGH 8.2 UPGRADE Pillow is a Python imaging library
- CVE-2026-112396 MEDIUM 5.9 UPGRADE Pillow is a Python imaging library
- CVE-2026-112392 HIGH 7.5 UPGRADE Pillow is a Python imaging library
- CVE-2026-112395 MEDIUM 6.5 UPGRADE Pillow is a Python imaging library