{
  "id": "CVE-2026-59203",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59203",
  "published_at": "2026-07-14T15:43:58.333Z",
  "title": "Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service",
  "vendor": "python-pillow",
  "product": "Pillow",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Pillow is a Python imaging library. From 12.0.0 through 12.2.0, Pillow's EPS parser in PIL/EpsImagePlugin.py accepts a negative byte count in the %%BeginBinary directive, allowing a crafted EPS file to cause Image.open() to seek backwards to the same directive and parse it repeatedly in an infinite loop. This issue is fixed in version 12.3.0.",
  "cwe": "CWE-835",
  "cpes": [
    "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "python-pillow",
        "product": "Pillow",
        "ranges": [
          "\u003e= 12.0.0, \u003c 12.3.0"
        ],
        "fixed_in": [
          "12.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Pillow to 12.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/pull/9708"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/python-pillow/Pillow/releases/tag/12.3.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
