# CVE-2026-59203: Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-14 · Modified: 2026-07-15
- Aliases: GHSA-pg7v-jwj7-p798, BIT-pillow-2026-59203, PYSEC-2026-3452, UBUNTU-CVE-2026-59203, DEBIAN-CVE-2026-59203, CGA-267x-xfvw-6px9, CGA-7m88-m953-xm7r, CGA-7vmc-vf8j-q7jc, CGA-9wf4-fppw-cq6w, CGA-gm5h-3c5x-f32p, CGA-jq8x-3h9f-mr2f, CGA-mj2g-jh75-c923, CGA-q5pr-vjrq-w24f, CGA-r66r-58xq-g336, CGA-w6mq-v4gx-q9rx, CGA-wxmf-q48f-pgcp, CGA-2ggq-ggr2-w6fm, CGA-2ppw-6v5h-g299, CGA-32cj-r438-37jw, CGA-425c-4j34-gjgq, CGA-43vh-6rgf-6hv6, CGA-4j89-5p9p-p75v, CGA-5p9r-7fxx-9fc9, CGA-6wfx-jv2v-qh4m, CGA-72x8-7pgw-6j9g, CGA-cgrr-3x66-v3rg, CGA-gv5g-g596-22wv, CGA-gwrj-7cqv-6fmq, CGA-q5f6-c7v7-553q, CGA-q7wv-r46v-xh8c, CGA-rrxx-x9q5-j35p, CGA-vmvf-9pfh-wh4q
- Record: https://cvemate.com/vulnerability/CVE-2026-59203 · JSON: https://cvemate.com/vulnerability/CVE-2026-59203/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.494%, percentile 44.04%, 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 25)

- chainguard label-studio (Chainguard): \< 1.23.0-r11
- chainguard lmcache-cuda-12.8 (Chainguard): \< 0.5.3-r0
- chainguard mlflow (Chainguard): \< 3.16.0-r0 \| \< 3.14.0-r2
- chainguard open-webui (Chainguard): \< 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.16.0-r0 \| \< 3.14.0-r2
- wolfi open-webui (Wolfi): \< 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-pg7v-jwj7-p798>
- <https://github.com/python-pillow/Pillow/pull/9708>
- <https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83>
- <https://github.com/python-pillow/Pillow/releases/tag/12.3.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59203>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3452.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-59203>
- <https://www.cve.org/CVERecord?id=CVE-2026-59203>
- <https://security-tracker.debian.org/tracker/CVE-2026-59203>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59203.json>
- <https://ubuntu.com/security/notices/USN-8999-1>

---

Data as of 2026-12-05T04:44:52.629Z. 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
