Vulnerability in Python Pillow
CVE-2026-59203
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…
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Python Pillow
- Python-pillow Pillow — versions >= 12.0.0, < 12.3.0
Weakness classification (CWE)
References
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-59203?
- CVE-2026-59203 is a medium-severity vulnerability in Python Pillow, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 5.3/10. Published 2026-07-14.
- How severe is CVE-2026-59203?
- Medium severity. CVSS v3 base score is 5.3 out of 10.