CVE Explorer
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 to the same directive and parse it repeatedly in an infinite loop. This issue is fixed in version 12.3.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":">= 12.0.0, < 12.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-835","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9708","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9708"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/references/1
{"name":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/references/3
{"tags":["exploit"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/adp/0/references/0
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f1e2c6570c7d2726f2e0ece79d7b4fc6834ad3959d67f60e465d9daea7e7894a · sha256:0bb2a6adaeab96cf… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.