Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions 12.0.0 through 12.2.0 are vulnerable to a denial of service in the EPS parser: a crafted EPS file with a negative byte count in a %%BeginBinary directive makes Image.open() loop forever, consuming CPU. An attacker only needs to supply such a file to an application that opens images, such as an upload or validation step. Upgrade to Pillow 12.3.0, which contains the fix.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0040, the 34th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 7 Jul 2026, 08:57 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:29 UTC First seen by agentprime
- 31 Oct 2026, 14:29 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-pg7v-jwj7-p798
- OSV: GHSA-pg7v-jwj7-p798
- github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798
- nvd.nist.gov/vuln/detail/CVE-2026-59203
- github.com/python-pillow/Pillow/pull/9708
- github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83
- github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3452.yaml
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/releases/tag/12.3.0