CVE-2026-59203
Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.399% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.3 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:58:56.279Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:56.279Z | CVE Program |
| epss | verified | 2026-11-19T16:04:53.106Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:18.502Z | OSV |
| affected | verified | 2026-11-19T12:58:56.279Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:56.279Z | CVE Program |
Affected versions and configuration
python-pillow Pillow; default status: unknown: >= 12.0.0, < 12.3.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "python-pillow",
"product": "Pillow",
"versions": [
{
"status": "affected",
"version": ">= 12.0.0, < 12.3.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-59203",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-15T13:52:13.769597Z"
}
}
}
],
"references": [
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-15T13:52:17.491Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-pg7v-jwj7-p798",
"aliases": [
"BIT-pillow-2026-59203",
"CVE-2026-59203",
"PYSEC-2026-3452"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "12.0.0"
},
{
"fixed": "12.3.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:pypi/pillow",
"ecosystem": "PyPI"
},
"versions": [
"12.0.0",
"12.1.0",
"12.1.1",
"12.2.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-pg7v-jwj7-p798/GHSA-pg7v-jwj7-p798.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59203",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/pull/9708",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3452.yaml",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow",
"type": "PACKAGE"
},
{
"url": "https://github.com/python-pillow/Pillow/releases/tag/12.3.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-835"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-07-14T16:17:02Z",
"github_reviewed_at": "2026-07-20T23:11:51Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-3452",
"aliases": [
"BIT-pillow-2026-59203",
"CVE-2026-59203",
"GHSA-pg7v-jwj7-p798"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "12.0.0"
},
{
"fixed": "12.3.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:pypi/pillow",
"ecosystem": "PyPI"
},
"versions": [
"12.0.0",
"12.1.0",
"12.1.1",
"12.2.0"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2026-3452.yaml"
},
"ecosystem_specific": {}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/python-pillow/Pillow/releases/tag/12.3.0",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83",
"type": "FIX"
},
{
"url": "https://github.com/python-pillow/Pillow/pull/9708",
"type": "FIX"
},
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798",
"type": "EVIDENCE"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | pillow | Not a distribution channel | 12.3.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:18.502ZArchived source JSON
Source publication: 2026-07-20T23:11:51.000Z
Source modification: 2026-09-10T03:50:52.876ZDocument fingerprint
7841b6cd095d8124afcf08eb6d62fae499d65ba3c479f0ba0d61d936705802fd - OSVConsulted: 2026-11-19T12:52:18.502ZArchived source JSON
Source publication: 2026-07-14T16:17:02.063Z
Source modification: 2026-07-15T20:11:27.953ZDocument fingerprint
7841b6cd095d8124afcf08eb6d62fae499d65ba3c479f0ba0d61d936705802fd - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:58:56.279ZArchived source JSON
Source publication: 2026-07-14T15:43:58.333Z
Source modification: 2026-07-15T13:52:17.491ZDocument fingerprint
d4a539deb40a09a1b8d5f4daa1beb264ce8bda0f5465c59fa873a82600b286b7 - FIRST EPSSConsulted: 2026-11-19T16:04:53.106ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ba064d37fdcff65c8d2137a8a84b754e2a9d47591973a041101c160af234b088
Official status history
- UNKNOWN → PUBLISHED · · evidence