{
  "id": "CVE-2026-59199",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59199",
  "published_at": "2026-07-14T15:42:15.071Z",
  "title": "Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow",
  "vendor": "python-pillow",
  "product": "Pillow",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "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. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0.",
  "cwe": "CWE-190",
  "cpes": [
    "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "python-pillow",
        "product": "Pillow",
        "ranges": [
          "\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-6r8x-57c9-28j4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/pull/9703"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796ef2cc3a7dd5fbba7b"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/python-pillow/Pillow/releases/tag/12.3.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
