CVE-2026-59203: Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service
Vulnerability summary
CVE-2026-59203 is a high (CVSS 7.5) Loop with Unreachable Exit Condition vulnerability in python-pillow pillow. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 44% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 14-07-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.10 pp
From 0.40% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPillow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard15 products
- label-studio< 1.23.0-r11
- lmcache-cuda-12.8< 0.5.3-r0
- mlflow< 3.16.0-r0 | < 3.14.0-r2
- open-webui< 0.10.2-r1
- openstack-horizon-2025.2< 25.5.2_git20260617-r4
Wolfi5 products
- mlflow< 3.16.0-r0 | < 3.14.0-r2
- open-webui< 0.10.2-r1
- superset-6.0< 6.0.0-r13
- superset-6.1< 6.1.0-r6
- superset-6.1-iamguarded-compatAll versions (No fix recorded)
Debian1 product
- pillow< 12.3.0-1
PyPI1 product
- pillow≥ 12.0.0, < 12.3.0
Python1 product
- pillow≥ 12.0.0, < 12.3.0
Python-pillow1 product
- pillow≥ 12.0.0, < 12.3.0
Ubuntu1 product
- pillowAll versions (No fix recorded) | < 12.1.1-2ubuntu1.4
7 vendors · 25 products
References
12 links- github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798X Refsource CONFIRMWEBEVIDENCEREPORTAdvisoryExploitVendor Advisory
- github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83X Refsource MISCWEBFIXPatch