CVE-2026-40192
HIGH7.5EPSS 0.02%Pillow is vulnerable to a FITS GZIP decompression bomb
發布日:2026/4/13修改日:2026/5/11
描述
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.
受影響套件(3)
- Bitnami/pillow>= 10.3.0, < 12.2.0
- Debian/pillowfrom 0, < 11.1.0-5+deb13u2
- PyPI/pillow>= 10.3.0, < 12.2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-40192
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-40192
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628
- WEBhttps://github.com/python-pillow/Pillow/pull/9521
- WEBhttps://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb