
CVE catalog
CVE-2026-40192
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 attack
- Severity
- High · CVSS 8.7
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.67% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pillow | sid | 13.0.0-1 | fixed |
| Debian | pillow | forky | 12.3.0-1 | fixed |
| Debian | pillow | trixie | 11.1.0-5+deb13u4 | fixed |
| Debian | pillow | trixie-security | 11.1.0-5+deb13u3 | fixed |
| Debian | pillow | bookworm | 9.4.0-1.1+deb12u1 | not affected |
| Debian | pillow | bookworm-security | 9.4.0-1.1+deb12u1 | not affected |
| Cpe | pillow | Not reported | 12.2.0 | fixed |
| PyPI | pillow | Not reported | 12.2.0 | fixed |
| Cpe | pillow | Not reported | 12.2.0 | fixed |
| Ubuntu | pillow | 25.10 | 11.1.0-5build1 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1.1 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1.2 | fixed |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu2 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.0.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.1 | fixed |
| Opensuse | python-Pillow | leap 16.0 | 11.3.0-160000.4.1 | fixed |
| Opensuse | python-Pillow | tumbleweed | 12.2.0-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pillow | source | sid | 12.2.0-1 | not yet assigned | Not reported | [1134198] |
| Debian | pillow | source | forky | 12.2.0-1 | not yet assigned | Not reported | [1134198] |
| Debian | pillow | source | trixie | 11.1.0-5+deb13u2 | not yet assigned | Not reported | [1134198] |
| Debian | pillow | source | bookworm | Not affected | unimportant | Not reported | [1134198] |
| Cpe | pillow | cpe | Not reported | 12.2.0 | Not reported | Not reported | Not reported |
| PyPI | pillow | PyPI | Not reported | 12.2.0 | Not reported | GHSA-WHJ4-6X5X-4V2J | Not reported |
| Cpe | pillow | cpe | Not reported | 12.2.0 | Not reported | NVD-CVE-2026-40192 | Not reported |
| Ubuntu | pillow | deb | 25.10 | 11.3.0-1ubuntu1.2 | Not reported | UBUNTU-CVE-2026-40192 | Not reported |
| Ubuntu | pillow | deb | 26.04 | 12.1.1-2ubuntu1.1 | Not reported | UBUNTU-CVE-2026-40192 | Not reported |
| Opensuse | python-Pillow | rpm | leap 16.0 | 11.3.0-160000.4.1 | Not reported | OPENSUSE-SU-2026:20617-1 | Not reported |
| Opensuse | python-Pillow | rpm | tumbleweed | 12.2.0-2.1 | Not reported | OPENSUSE-SU-2026:10575-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-Pillow]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.2.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
- [python313-Pillow-tk]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.2.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
- [python314-Pillow]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.2.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
- [python314-Pillow-tk]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.2.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-pil]Not affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· amd64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
- [python3-pil.imagetk]Not affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· amd64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
- [python-pil-doc]Not affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· all · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· all · bookworm-securityNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· all · bookworm-securityNot affected
nvd · pillow · debian · bookworm
[Debian 13 (Trixie)]
- [python3-pil]Fixed
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
- [python3-pil.imagetk]Fixed
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
- [python-pil-doc]Fixed
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityFixed · Fixed:
11.1.0-5+deb13u2nvd · pillow · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:16008]
- [https://access.redhat.com/errata/RHSA-2026:16009]
- [https://access.redhat.com/errata/RHSA-2026:16030]
- [https://access.redhat.com/errata/RHSA-2026:16174]
- [https://access.redhat.com/errata/RHSA-2026:17609]
- [https://access.redhat.com/errata/RHSA-2026:17611]
- [https://access.redhat.com/errata/RHSA-2026:19375]
- [https://access.redhat.com/errata/RHSA-2026:19712]
- [https://access.redhat.com/errata/RHSA-2026:21017]
- [https://access.redhat.com/errata/RHSA-2026:22465]
- [https://access.redhat.com/errata/RHSA-2026:22629]
- [https://access.redhat.com/errata/RHSA-2026:22840]
- [https://access.redhat.com/errata/RHSA-2026:23361]
- [https://access.redhat.com/errata/RHSA-2026:24761]
- [https://access.redhat.com/errata/RHSA-2026:24762]
- [https://access.redhat.com/errata/RHSA-2026:24853]
- [https://access.redhat.com/errata/RHSA-2026:24866]
- [https://access.redhat.com/errata/RHSA-2026:24977]
- [https://access.redhat.com/errata/RHSA-2026:27076]
- [https://access.redhat.com/errata/RHSA-2026:34365]
- [https://access.redhat.com/errata/RHSA-2026:34366]
- [https://access.redhat.com/errata/RHSA-2026:34368]
- [https://access.redhat.com/errata/RHSA-2026:37275]
- [https://access.redhat.com/errata/RHSA-2026:57387]
- [https://access.redhat.com/errata/RHSA-2026:61627]
- [https://access.redhat.com/errata/RHSA-2026:61628]
- [https://access.redhat.com/errata/RHSA-2026:61629]
- [https://access.redhat.com/errata/RHSA-2026:65126]
- [https://access.redhat.com/security/cve/CVE-2026-40192]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2458856]
- [https://ftp.suse.com/pub/projects/security/]
- [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://nvd.nist.gov/vuln/detail/CVE-2026-40192]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40192]
- [https://osv.dev/vulnerability/GHSA-whj4-6x5x-4v2j]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40192]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10575-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20617-1]
- [https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb]
- [https://security-tracker.debian.org/tracker/CVE-2026-40192]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2437.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]