GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

BREW-PILLOW-CVE-2026-40192 (CVE-2026-40192)

Vulnerability from osv_homebrew – Published: 2026-08-13 17:28 – Updated: 2026-09-10 20:25 – Source website
VLAI
Summary
Pillow is vulnerable to a FITS GZIP decompression bomb
Details

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.

References
https://pillow.readthedocs.io/en/stable/releaseno… WEB
https://security.access.redhat.com/data/csaf/v2/v… WEB
https://access.redhat.com/errata/RHSA-2026:16008 ADVISORY
https://access.redhat.com/errata/RHSA-2026:16009 ADVISORY
https://access.redhat.com/errata/RHSA-2026:16030 ADVISORY
https://access.redhat.com/errata/RHSA-2026:16174 ADVISORY
https://access.redhat.com/errata/RHSA-2026:17609 ADVISORY
https://access.redhat.com/errata/RHSA-2026:17611 ADVISORY
https://access.redhat.com/errata/RHSA-2026:19375 ADVISORY
https://access.redhat.com/errata/RHSA-2026:19712 ADVISORY
https://access.redhat.com/errata/RHSA-2026:21017 ADVISORY
https://access.redhat.com/errata/RHSA-2026:22465 ADVISORY
https://access.redhat.com/errata/RHSA-2026:22629 ADVISORY
https://access.redhat.com/errata/RHSA-2026:22840 ADVISORY
https://access.redhat.com/errata/RHSA-2026:23361 ADVISORY
https://access.redhat.com/errata/RHSA-2026:24761 ADVISORY
https://access.redhat.com/errata/RHSA-2026:24762 ADVISORY
https://access.redhat.com/errata/RHSA-2026:24853 ADVISORY
https://access.redhat.com/errata/RHSA-2026:24866 ADVISORY
https://access.redhat.com/errata/RHSA-2026:24977 ADVISORY
https://access.redhat.com/errata/RHSA-2026:27076 ADVISORY
https://access.redhat.com/errata/RHSA-2026:34365 ADVISORY
https://access.redhat.com/errata/RHSA-2026:34366 ADVISORY
https://access.redhat.com/errata/RHSA-2026:34368 ADVISORY
https://access.redhat.com/errata/RHSA-2026:37275 ADVISORY
https://access.redhat.com/errata/RHSA-2026:57387 ADVISORY
https://access.redhat.com/errata/RHSA-2026:61627 ADVISORY
https://access.redhat.com/errata/RHSA-2026:61628 ADVISORY
https://access.redhat.com/errata/RHSA-2026:61629 ADVISORY
https://access.redhat.com/errata/RHSA-2026:65126 ADVISORY
https://access.redhat.com/security/cve/CVE-2026-40192 ADVISORY
https://github.com/CVEProject/cvelistV5/tree/main… ADVISORY
https://github.com/python-pillow/Pillow/security/… ADVISORY
https://nvd.nist.gov/vuln/detail/CVE-2026-40192 ADVISORY
https://bugzilla.redhat.com/show_bug.cgi?id=2458856 REPORT
https://github.com/python-pillow/Pillow/commit/3c… FIX
https://github.com/python-pillow/Pillow/pull/9521 FIX

{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": "bump",
        "range_state": "fixed",
        "upstream_fixed_in": "12.2.0"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "pillow",
        "purl": "pkg:brew/pillow"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "12.3.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "high",
    "source": "matched",
    "strategy": "git",
    "upstream_evidence": [
      {
        "ecosystem": "GIT",
        "key": "https://github.com/python-pillow/pillow",
        "name": "https://github.com/python-pillow/pillow",
        "strategy": "git",
        "subject_version": "12.3.0"
      },
      {
        "ecosystem": "PyPI",
        "key": "pkg:pypi/pillow@12.3.0",
        "name": "pillow",
        "strategy": "registry",
        "subject_version": "12.3.0"
      },
      {
        "ecosystem": "Debian",
        "key": "Debian/pillow",
        "name": "pillow",
        "strategy": "distro"
      },
      {
        "ecosystem": "GIT",
        "key": "upstream:https://github.com/python-pillow/pillow",
        "name": "https://github.com/python-pillow/pillow",
        "strategy": "distro",
        "subject_version": "12.3.0"
      },
      {
        "ecosystem": "PyPI",
        "key": "upstream:pkg:pypi/pillow@12.3.0",
        "name": "pillow",
        "strategy": "distro",
        "subject_version": "12.3.0"
      },
      {
        "ecosystem": "Ubuntu",
        "key": "Ubuntu/pillow",
        "name": "pillow",
        "strategy": "distro"
      }
    ]
  },
  "details": "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.",
  "id": "BREW-pillow-CVE-2026-40192",
  "modified": "2026-09-10T20:25:15Z",
  "published": "2026-08-13T17:28:20Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb"
    },
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40192.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:16008"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:16009"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:16030"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:16174"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:17609"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:17611"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:19375"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:19712"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:21017"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:22465"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:22629"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:22840"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:23361"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:24761"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:24762"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:24853"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:24866"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:24977"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:27076"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:34365"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:34366"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:34368"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:37275"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:57387"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:61627"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:61628"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:61629"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:65126"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-40192"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40192.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40192"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2458856"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python-pillow/Pillow/pull/9521"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Pillow is vulnerable to a FITS GZIP decompression bomb",
  "upstream": [
    "CVE-2026-40192",
    "BIT-pillow-2026-40192",
    "GHSA-whj4-6x5x-4v2j",
    "PYSEC-2026-2250"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…