CVE Catalog

CVE-2026-40192

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.67%

49th percentile - higher than 49% of all known CVEs

Summary

Pillow 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).

Risk Assessment

The organization is at risk of DoS attacks via malicious FITS files, which can exhaust server memory and disrupt applications processing images.

Recommendation

Upgrade Pillow to version 12.2.0 or later immediately. If an upgrade is not possible, as a temporary workaround only open specific image formats, excluding FITS.

Other vulnerabilities in Pillow

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS