{"cve":"CVE-2026-40192","nvd":{"published":"2026-04-15T23:16:10.053","modified":"2026-10-26T21:10:00.170","status":"Modified","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_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-770","CWE-409"],"references":["https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628","https://github.com/python-pillow/Pillow/pull/9521","https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j","https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb","https://access.redhat.com/errata/RHSA-2026:16008"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-40192","score":0.00671,"percentile":0.51737,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-whj4-6x5x-4v2j","url":"https://osv.dev/vulnerability/GHSA-whj4-6x5x-4v2j","summary":"FITS GZIP decompression bomb in Pillow","modified":"2026-09-10T03:51:03.847830288Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=10.3.0 <12.2.0"],"fixed":["12.2.0"]}]},{"id":"PYSEC-2026-2250","url":"https://osv.dev/vulnerability/PYSEC-2026-2250","summary":"","modified":"2026-07-13T07:26:24.246094941Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=10.3.0 <12.2.0"],"fixed":["12.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}