{"items":[{"id":"NVI-00016277","kind":"vulnerability","title":"Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-pg7v-jwj7-p798","CVE-2026-59203"],"plain_summary":"GitHub lists this reviewed advisory for pillow. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-04765df5c9a0be7708e3bacf56935ff2"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-20T23:11:52.000Z","value":"5.3 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-5d447f70971dec7c159f3b336c32def5"},{"kind":"EPSS","as_of":"2026-11-04T12:03:12.000Z","value":"0.399%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.34321. Missing scores are unknown.","source_id":"sr-04765df5c9a0be7708e3bacf56935ff2"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-5d447f70971dec7c159f3b336c32def5","url":"https://github.com/advisories/GHSA-pg7v-jwj7-p798","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-pg7v-jwj7-p798","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T22:35:18.117Z"},{"id":"sr-04765df5c9a0be7708e3bacf56935ff2","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-59203","publisher":"FIRST EPSS","observed_at":"2026-11-04T23:33:33.054Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5d447f70971dec7c159f3b336c32def5"],"technology":"pillow","known_exclusions":[],"conditions_summary":"### Summary\n\nPillow's EPS parser (PIL/EpsImagePlugin.py) accepts a negative byte count in the %%BeginBinary directive. A crafted EPS file can cause Image.open() to seek backwards to the same directive and parse it repeatedly, resulting in an infinite loop and CPU denial of service.\n\nThe issue is triggered during Image.open(), does not require Image.load(), and does not require Ghostscript execution.\n\nConfirmed affected versions: Pillow 12.0.0 through 12.2.0.\n\n### Details\n\nThe issue is in the EPS parser in PIL/EpsImagePlugin.py. When parsing an EPS %%BeginBinary directive, Pillow reads the byte count from the file and passes it directly to a relative seek operation without validating that the value is non-negative.\n\nRelevant code:\n\n    elif bytes_mv[:14] == b\"%%BeginBinary:\":\n        bytecount = int(byte_arr[14:bytes_read])\n        self.fp.seek(bytecount, os.SEEK_CUR)\n\nThere is no validation that bytecount is non-negative.\n\nIf an attacker provides a negative value such as %%BeginBinary:-18, the parser moves the file pointer backwards from the end of the directive line to the same line region. The next parser iteration reads the same %%BeginBinary:-18 directive again, performs the sa","public_affected_ranges":[">= 12.0.0, < 12.3.0"]}],"null_published_at":"2026-11-06T07:24:11.251Z","source_updated_at":"2026-07-20T23:11:52.000Z","source_disclosed_at":"2026-07-20T23:11:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-11-03T22:35:18.117Z"},{"id":"NVI-00016277","kind":"vulnerability","title":"Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-pg7v-jwj7-p798","CVE-2026-59203"],"plain_summary":"GitHub lists this reviewed advisory for pillow. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-5d447f70971dec7c159f3b336c32def5"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-20T23:11:52.000Z","value":"5.3 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-5d447f70971dec7c159f3b336c32def5"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-5d447f70971dec7c159f3b336c32def5","url":"https://github.com/advisories/GHSA-pg7v-jwj7-p798","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-pg7v-jwj7-p798","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T22:35:18.117Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5d447f70971dec7c159f3b336c32def5"],"technology":"pillow","known_exclusions":[],"conditions_summary":"### Summary\n\nPillow's EPS parser (PIL/EpsImagePlugin.py) accepts a negative byte count in the %%BeginBinary directive. A crafted EPS file can cause Image.open() to seek backwards to the same directive and parse it repeatedly, resulting in an infinite loop and CPU denial of service.\n\nThe issue is triggered during Image.open(), does not require Image.load(), and does not require Ghostscript execution.\n\nConfirmed affected versions: Pillow 12.0.0 through 12.2.0.\n\n### Details\n\nThe issue is in the EPS parser in PIL/EpsImagePlugin.py. When parsing an EPS %%BeginBinary directive, Pillow reads the byte count from the file and passes it directly to a relative seek operation without validating that the value is non-negative.\n\nRelevant code:\n\n    elif bytes_mv[:14] == b\"%%BeginBinary:\":\n        bytecount = int(byte_arr[14:bytes_read])\n        self.fp.seek(bytecount, os.SEEK_CUR)\n\nThere is no validation that bytecount is non-negative.\n\nIf an attacker provides a negative value such as %%BeginBinary:-18, the parser moves the file pointer backwards from the end of the directive line to the same line region. The next parser iteration reads the same %%BeginBinary:-18 directive again, performs the sa","public_affected_ranges":[">= 12.0.0, < 12.3.0"]}],"null_published_at":"2026-11-04T10:04:27.926Z","source_updated_at":"2026-07-20T23:11:52.000Z","source_disclosed_at":"2026-07-20T23:11:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T22:35:18.117Z"}],"next_cursor":null,"snapshot_revision":"42594"}