CVE-2026-59203
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
Product
Python Pillow
PublishedJul 14, 2026
First seenJul 14, 2026
Weakness typeCWE-835CWE-835
How to fix
Update
- python pillow12.3.0 or later
- pillow12.3.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python pillow | 12.0.0 ≤ v < 12.3.0 | 12.3.0 |
| pillowPyPI | 12.0.0 ≤ v < 12.3.0 | 12.3.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.