CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2026-96643

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 7.1 · high

Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.

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

Severity and exploitation evidence

EPSS: 0.373% · 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-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 7.1 · published by GitHub_M
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:29.326Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:59:29.326ZCVE Program
epssverified2026-11-19T16:04:57.117ZFIRST EPSS
patchesverified2026-11-19T12:52:18.502ZOSV
affectedverified2026-11-19T12:59:29.326ZCVE Program
lifecycleverified2026-11-19T12:59:29.326ZCVE Program

Affected versions and configuration

python-pillow Pillow; default status: unknown: >= 11.0.0, < 13.0.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": ">= 11.0.0, < 13.0.0"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-96643",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-23T17:32:48.986807Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-23T21:19:12.901Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-g4qv-2jxx-769h",
  "aliases": [
    "BIT-pillow-2026-96643",
    "CVE-2026-96643",
    "PYSEC-2026-4342"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "11.0.0"
            },
            {
              "fixed": "13.0.0"
            }
          ]
        }
      ],
      "package": {
        "name": "pillow",
        "purl": "pkg:pypi/pillow",
        "ecosystem": "PyPI"
      },
      "versions": [
        "11.0.0",
        "11.1.0",
        "11.2.1",
        "11.3.0",
        "12.0.0",
        "12.1.0",
        "12.1.1",
        "12.2.0",
        "12.3.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-g4qv-2jxx-769h/GHSA-g4qv-2jxx-769h.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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-g4qv-2jxx-769h",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96643",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/pull/10073",
      "type": "WEB"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6c",
      "type": "WEB"
    },
    {
      "url": "https://github.com/python-pillow/Pillow",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-407"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-10-21T21:20:32Z",
    "github_reviewed_at": "2026-10-22T16:02:39Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2026-4342",
  "aliases": [
    "BIT-pillow-2026-96643",
    "CVE-2026-96643",
    "GHSA-g4qv-2jxx-769h"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "11.0.0"
            },
            {
              "fixed": "13.0.0"
            }
          ]
        }
      ],
      "package": {
        "name": "pillow",
        "purl": "pkg:pypi/pillow",
        "ecosystem": "PyPI"
      },
      "versions": [
        "11.0.0",
        "11.1.0",
        "11.2.1",
        "11.3.0",
        "12.0.0",
        "12.1.0",
        "12.1.1",
        "12.2.0",
        "12.3.0"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2026-4342.yaml"
      },
      "ecosystem_specific": {}
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-g4qv-2jxx-769h",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/pull/10073",
      "type": "REPORT"
    },
    {
      "url": "https://github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6c",
      "type": "FIX"
    }
  ],
  "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 channel13.0.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history