CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2026-59204

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.7 · high

Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service

Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.385% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.7 · published by GitHub_M
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
Assessment source · checked 2026-11-19T12:58:56.335Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:58:56.335ZCVE Program
epssverified2026-11-19T16:04:53.106ZFIRST EPSS
patchesverified2026-11-19T12:52:18.502ZOSV
affectedverified2026-11-19T12:58:56.335ZCVE Program
lifecycleverified2026-11-19T12:58:56.335ZCVE Program

Affected versions and configuration

python-pillow Pillow; default status: unknown: >= 8.2.0, < 12.3.0 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "python-pillow",
      "product": "Pillow",
      "versions": [
        {
          "status": "affected",
          "version": ">= 8.2.0, < 12.3.0"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-59204",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-07-21T18:40:47.610956Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-07-21T18:41:18.660Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-vjc4-5qp5-m44j",
  "aliases": [
    "BIT-pillow-2026-59204",
    "CVE-2026-59204",
    "PYSEC-2026-3496"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "8.2.0"
            },
            {
              "fixed": "12.3.0"
            }
          ]
        }
      ],
      "package": {
        "name": "pillow",
        "purl": "pkg:pypi/pillow",
        "ecosystem": "PyPI"
      },
      "versions": [
        "10.0.0",
        "10.0.1",
        "10.1.0",
        "10.2.0",
        "10.3.0",
        "10.4.0",
        "11.0.0",
        "11.1.0",
        "11.2.1",
        "11.3.0",
        "12.0.0",
        "12.1.0",
        "12.1.1",
        "12.2.0",
        "8.2.0",
        "8.3.0",
        "8.3.1",
        "8.3.2",
        "8.4.0",
        "9.0.0",
        "9.0.1",
        "9.1.0",
        "9.1.1",
        "9.2.0",
        "9.3.0",
        "9.4.0",
        "9.5.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vjc4-5qp5-m44j/GHSA-vjc4-5qp5-m44j.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59204",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/pull/9704",
      "type": "WEB"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca",
      "type": "WEB"
    },
    {
      "url": "https://github.com/python-pillow/Pillow",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/releases/tag/12.3.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-770",
      "CWE-789"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-07-14T16:17:02Z",
    "github_reviewed_at": "2026-07-20T23:18:32Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2026-3496",
  "aliases": [
    "BIT-pillow-2026-59204",
    "CVE-2026-59204",
    "GHSA-vjc4-5qp5-m44j"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "8.2.0"
            },
            {
              "fixed": "12.3.0"
            }
          ]
        }
      ],
      "package": {
        "name": "pillow",
        "purl": "pkg:pypi/pillow",
        "ecosystem": "PyPI"
      },
      "versions": [
        "10.0.0",
        "10.0.1",
        "10.1.0",
        "10.2.0",
        "10.3.0",
        "10.4.0",
        "11.0.0",
        "11.1.0",
        "11.2.1",
        "11.3.0",
        "12.0.0",
        "12.1.0",
        "12.1.1",
        "12.2.0",
        "8.2.0",
        "8.3.0",
        "8.3.1",
        "8.3.2",
        "8.4.0",
        "9.0.0",
        "9.0.1",
        "9.1.0",
        "9.1.1",
        "9.2.0",
        "9.3.0",
        "9.4.0",
        "9.5.0"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2026-3496.yaml"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59204",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/pull/9704",
      "type": "WEB"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca",
      "type": "WEB"
    },
    {
      "url": "https://github.com/python-pillow/Pillow",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/releases/tag/12.3.0",
      "type": "WEB"
    },
    {
      "url": "https://pypi.org/project/pillow",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/advisories/GHSA-vjc4-5qp5-m44j",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packagepillowNot a distribution channel12.3.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history