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

[CVE catalog]

Severity
High · CVSS 8.7CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpillowsid13.0.0-1fixed
Debianpillowforky12.3.0-1fixed
Debianpillowtrixie11.1.0-5+deb13u4fixed
Debianpillowtrixie-security11.1.0-5+deb13u3fixed
Debianpillowbookworm9.4.0-1.1+deb12u1not affected
Debianpillowbookworm-security9.4.0-1.1+deb12u1not affected
CpepillowNot reported12.2.0fixed
PyPIpillowNot reported12.2.0fixed
CpepillowNot reported12.2.0fixed
Ubuntupillow25.1011.1.0-5build1vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1.1vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1.2fixed
Ubuntupillow26.0411.3.0-1ubuntu1vulnerable
Ubuntupillow26.0411.3.0-1ubuntu2vulnerable
Ubuntupillow26.0412.0.0-1ubuntu1vulnerable
Ubuntupillow26.0412.1.1-1ubuntu1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1.1fixed
Opensusepython-Pillowleap 16.011.3.0-160000.4.1fixed
Opensusepython-Pillowtumbleweed12.2.0-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpillowsourcesid12.2.0-1not yet assignedNot reported[1134198]
Debianpillowsourceforky12.2.0-1not yet assignedNot reported[1134198]
Debianpillowsourcetrixie11.1.0-5+deb13u2not yet assignedNot reported[1134198]
DebianpillowsourcebookwormNot affectedunimportantNot reported[1134198]
CpepillowcpeNot reported12.2.0Not reportedNot reportedNot reported
PyPIpillowPyPINot reported12.2.0Not reportedGHSA-WHJ4-6X5X-4V2JNot reported
CpepillowcpeNot reported12.2.0Not reportedNVD-CVE-2026-40192Not reported
Ubuntupillowdeb25.1011.3.0-1ubuntu1.2Not reportedUBUNTU-CVE-2026-40192Not reported
Ubuntupillowdeb26.0412.1.1-2ubuntu1.1Not reportedUBUNTU-CVE-2026-40192Not reported
Opensusepython-Pillowrpmleap 16.011.3.0-160000.4.1Not reportedOPENSUSE-SU-2026:20617-1Not reported
Opensusepython-Pillowrpmtumbleweed12.2.0-2.1Not reportedOPENSUSE-SU-2026:10575-1Not reported

[Debian bug #1134198]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.2.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.2.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.2.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.2.0-2.1

      Version 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 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

  • [python3-pil.imagetk]Not affected

    Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · amd64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

  • [python-pil-doc]Not affected

    Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · all · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · all · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · all · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · all · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · amd64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · arm64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · amd64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · arm64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · all · trixie

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · all · trixie

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · all · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · all · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u2

      nvd · pillow · debian · 13

Observed:

References

[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]