# CVE-2026-59199: Pillow: Heap out-of-bounds write \`Image.paste()\` / \`Image.crop()\` via signed coordinate overflow

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 12.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-14 · Modified: 2026-07-15
- Aliases: GHSA-6r8x-57c9-28j4, BIT-pillow-2026-59199, PYSEC-2026-3451, UBUNTU-CVE-2026-59199, DEBIAN-CVE-2026-59199, CGA-2c7h-m8hx-5j99, CGA-3cwq-gmrc-8828, CGA-6jqj-q956-2c47, CGA-6xv3-4vq7-fxmm, CGA-863p-2xwg-6p24, CGA-9x5h-w454-x66h, CGA-f2c3-93fh-rg3f, CGA-h2m5-7cxh-53xr, CGA-hxv7-67hx-2hf3, CGA-j64j-5mhp-6jh6, CGA-mfh4-7769-87v3, CGA-mm9g-4672-q99h, CGA-q394-985g-2fqm, CGA-rxw7-74h9-c3wm, CGA-wfc8-r2cg-gwhc, CGA-37xw-cfc7-pmgg, CGA-4pr3-hh4q-98hj, CGA-5c5f-jv35-hwqg, CGA-775m-wf92-j6m2, CGA-8xvg-52x7-hq5v, CGA-h76c-wg9q-r85m, CGA-jjcj-w388-8xmg, CGA-jm3j-m6hh-237p, CGA-m4rm-75wm-2hr4, CGA-mxr3-5rmq-hmcx, CGA-p3j2-f55h-52ch, CGA-px89-xfgx-5547, CGA-q3w8-r7cm-mg4v, CGA-vgcm-vghw-v866, CGA-vjvc-95cp-xchw, CGA-xqg7-6q69-5367
- Record: https://cvemate.com/vulnerability/CVE-2026-59199 · JSON: https://cvemate.com/vulnerability/CVE-2026-59199/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.385%, percentile 34.749%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 26)

- chainguard label-studio (Chainguard): \< 1.23.0-r11
- chainguard lmcache-cuda-12.8 (Chainguard): \< 0.5.3-r0
- chainguard mlflow (Chainguard): \< 3.14.0-r2 \| \< 3.16.0-r0
- chainguard open-webui (Chainguard): All versions (No fix recorded) \| \< 0.11.0-r0 \| \< 0.10.2-r1
- chainguard openstack-horizon-2025.2 (Chainguard): \< 25.5.2\_git20260617-r4
- chainguard openstack-horizon-2025.2-fips (Chainguard): \< 25.5.2\_git20260617-r5
- chainguard openstack-horizon-2026.1 (Chainguard): \< 25.7.3\_git20260630-r2
- chainguard openstack-horizon-2026.1-fips (Chainguard): \< 25.7.3\_git20260630-r2
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r13
- chainguard superset-6.1 (Chainguard): \< 6.1.0-r6
- chainguard superset-6.1-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard superset-fips-6.1 (Chainguard): \< 6.1.0-r5
- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.21.0-r7
- chainguard text-generation-inference (Chainguard): \< 3.3.7-r20
- chainguard tritonserver-backend-vllm-cuda-13.0 (Chainguard): \< 25.11-r11
- wolfi mlflow (Wolfi): \< 3.14.0-r2 \| \< 3.16.0-r0
- wolfi open-webui (Wolfi): All versions (No fix recorded) \| \< 0.11.0-r0 \| \< 0.10.2-r1
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r13
- wolfi superset-6.1 (Wolfi): \< 6.1.0-r6
- wolfi superset-6.1-iamguarded-compat (Wolfi): All versions (No fix recorded)

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4>
- <https://github.com/python-pillow/Pillow/pull/9703>
- <https://github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796ef2cc3a7dd5fbba7b>
- <https://github.com/python-pillow/Pillow/releases/tag/12.3.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59199>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3451.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-59199>
- <https://www.cve.org/CVERecord?id=CVE-2026-59199>
- <https://security-tracker.debian.org/tracker/CVE-2026-59199>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59199.json>
- <https://ubuntu.com/security/notices/USN-8999-1>

---

Data as of 2026-12-05T04:12:07.392Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
