Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.
CVE-2026-59197
“—” beside the score: it is equal to the CVSS score beside it.
Score 8.2 from GitHub Security Advisory (severity: HIGH) published 2026-07-20. A secondary CVSS source baseline 8.2; sources differ by 0.0.
Also known asEUVD-2026-43734 (ENISA EUVD) · GHSA-xj96-63gp-2gmr (GitHub Security Advisories)Source: ENISA EUVD
- CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
A fix is available — apply it.
- CVSS v3
- 8.2
- EG Score
- 8.2HIGHmedium confidence
- EG Risk
- 68EG Risk 68/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity82% × 45%Impact severity (EG Severity): CVSS 8.2 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.4%
- EPSS %ILE
- 38th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (8.2): severity, escalated by confirmed exploitation. This CVE's 8.2 is its impact severity (EG Severity), not escalated.
- EG Severity
- 8.2 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- 0.4% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-31). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; 60 days if it is not.
The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
July 14, 2026
Last Modified
October 24, 2026
Advisory Details (4)
Auto-updated Jul 14, 2026Heap out-of-bounds write in Pillow `ImageFilter.RankFilter` via integer overflow in `ImagingExpand` · Advisory · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/security/advisories/GHSA-xj96-63gp-2gmr12.3.0
Patch available: python-pillow/Pillow 12.3.0
https://github.com/python-pillow/Pillow/releases/tag/12.3.0Validate large filter sizes when initializing RankFilter
Patch available: python-pillow/Pillow 12.3.0 (PR #9695 merged 2026-06-21)
https://github.com/python-pillow/Pillow/pull/9695commit cce3bdb867c7 (python-pillow/Pillow)
Patch available: python-pillow/Pillow 12.3.0 (contains commit cce3bdb867c7)
https://github.com/python-pillow/Pillow/commit/cce3bdb867c77a3420261ed1bfdb6b0787ec8fc1Vendor Advisories for CVE-2026-59197(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:81110Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.18.1
- RHSA-2026:76150Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update
- RHSA-2026:76149Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update
- RHSA-2026:73987Red Hat Product SecurityCritical
Red Hat Security Advisory: RHOAI 3.3.7 - Red Hat OpenShift AI
- RHSA-2026:70996Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.4.5 (cuda)
- RHSA-2026:70995Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (rocm)
- RHSA-2026:70979Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cuda)
- RHSA-2026:70969Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (spyre)
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pillow | 10.0.0-1 ... 9.5.0-1 (38 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pillow | 10.0.0-1 ... 9.5.0-1 (23 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pillow | 11.1.0-5 ... 12.3.0-1 (13 versions) |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pillow | 11.1.0-5 ... 12.2.0-1 (8 versions) |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pillow | 1.0 ... 9.5.0 (106 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(11)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:48021IMPORTANT2026-07-14
RHSA-2026:48021 — Important
- Red HatRHSA-2026:48933IMPORTANT2026-07-14
RHSA-2026:48933 — Important
- Red HatRHSA-2026:50223IMPORTANT2026-07-14
RHSA-2026:50223 — Important
- Red HatRHSA-2026:50319IMPORTANT2026-07-14
RHSA-2026:50319 — Important
- Red HatRHSA-2026:50336IMPORTANT2026-07-14
RHSA-2026:50336 — Important
- Red HatRHSA-2026:50340IMPORTANT2026-07-14
RHSA-2026:50340 — Important
- Red HatRHSA-2026:50479IMPORTANT2026-07-14
RHSA-2026:50479 — Important
- Red HatRHSA-2026:50931IMPORTANT2026-07-14
RHSA-2026:50931 — Important
- Red HatRHSA-2026:52551IMPORTANT2026-07-14
RHSA-2026:52551 — Important
- Red HatRHSA-2026:52968IMPORTANT2026-07-14
RHSA-2026:52968 — Important
- Red HatRHSA-2026:53520IMPORTANT2026-07-14
RHSA-2026:53520 — Important
Data Freshness Timeline
(refreshed 11× in last 7d / 46× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 100 of 236 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 136 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-01 16:35 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-11-01 07:42 UTCGHSA enrichmentGHSA-xj96-63gp-2gmr · GitHub severity HIGH · GitHub CVSS 8.2
- 2026-11-01 07:42 UTCEG score recompute
- 2026-10-31 16:33 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-31 10:23 UTCEG score recompute
- 2026-10-31 10:23 UTCVendor advisory
- 2026-10-30 16:34 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-29 16:33 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-28 16:32 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-27 16:32 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-26 16:31 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-25 16:33 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-10-25 14:16 UTCEG score recompute
- 2026-10-24 21:26 UTCEG score recompute
- 2026-10-24 21:26 UTCVendor advisory
- 2026-10-24 16:33 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-23 16:32 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-22 16:34 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-21 16:33 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-20 16:33 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-20 09:42 UTCEG score recompute
- 2026-10-20 09:42 UTCVendor advisory
- 2026-10-19 16:32 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-18 16:32 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-18 03:27 UTCEG score recompute
Show 75 moreShow fewer
- 2026-10-17 16:35 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-16 16:43 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-15 16:32 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-14 16:33 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-10-13 16:34 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-13 16:15 UTCEG score recompute
- 2026-10-13 16:15 UTCVendor advisory
- 2026-10-12 16:34 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-12 15:52 UTCEG score recompute
- 2026-10-11 19:36 UTCEG score recompute
- 2026-10-11 16:51 UTCEG score recompute
- 2026-10-11 14:14 UTCEG score recompute
- 2026-10-11 13:49 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-10 20:00 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-09 20:07 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-08 17:13 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-07 23:48 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-06 15:18 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-05 17:43 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-04 23:22 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-03 14:26 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-02 17:56 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-10-01 19:50 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-10-01 13:23 UTCEG score recompute
- 2026-10-01 13:23 UTCVendor advisory
- 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-29 15:22 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-28 13:51 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-28 09:20 UTCEG score recompute
- 2026-09-28 09:20 UTCVendor advisory
- 2026-09-27 13:48 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-26 15:59 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-24 14:04 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-24 09:51 UTCEG score recompute
- 2026-09-24 09:51 UTCVendor advisory
- 2026-09-23 17:54 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-09-23 03:55 UTCEG score recompute
- 2026-09-23 03:55 UTCVendor advisory
- 2026-09-20 20:16 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-09-18 19:28 UTCEPSS rescoreEPSS 0.4% · 38th percentile
- 2026-09-18 04:54 UTCEG score recompute
- 2026-09-18 04:54 UTCVendor advisory
- 2026-09-17 19:31 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-16 14:08 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-16 05:15 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-15 03:11 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-13 23:27 UTCEG score recompute
- 2026-09-13 23:27 UTCVendor advisory
- 2026-09-13 16:47 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-13 07:53 UTCEG score recompute
- 2026-09-13 07:53 UTCVendor advisory
- 2026-09-12 14:30 UTCVendor advisory
- 2026-09-12 01:45 UTCEG score recompute
- 2026-09-12 01:45 UTCVendor advisory
- 2026-09-11 14:53 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-10 09:35 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-08 22:01 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-08 01:44 UTCEG score recompute
- 2026-09-08 01:44 UTCVendor advisory
- 2026-09-07 16:01 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-06 13:46 UTCVendor advisory
- 2026-09-05 21:17 UTCEG score recompute
- 2026-09-05 21:17 UTCVendor advisory
- 2026-09-04 05:07 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-02 14:12 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-01 13:54 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-01 04:40 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-30 19:17 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-30 18:04 UTCVendor advisory
- 2026-08-30 05:19 UTCEG score recompute
- 2026-08-30 05:19 UTCVendor advisory
- 2026-08-30 01:22 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-28 21:42 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-08-27 21:33 UTCEG score recompute
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:pillow
- CVE-2022-22817EG 9.8CRITICAL
- CVE-2021-34552EG 9.8CRITICAL
- CVE-2021-25289EG 9.8CRITICAL
- CVE-2020-5312EG 9.8EPSS p90CRITICAL
- CVE-2020-5311EG 9.8EPSS p91CRITICAL
- CVE-2016-4009EG 9.8EPSS p95CRITICAL
- CVE-2014-3007CVSS v2 10.0EG 9.8EPSS p96CRITICAL
- CVE-2026-54058EG 9.1CRITICAL
- CVE-2022-24303EG 9.1CRITICAL
- CVE-2021-25288EG 9.1CRITICAL
Same vendor
10 shownredhat:RHSA-2026:48021 · redhat:RHSA-2026:48933 · redhat:RHSA-2026:50223
Frequently asked(5)
What is CVE-2026-59197?
When was the CVE record for CVE-2026-59197 published?
Is CVE-2026-59197 actively exploited?
What is the CVSS score of CVE-2026-59197?
How do I remediate CVE-2026-59197?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59197
Is Your Infrastructure Affected by CVE-2026-59197?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.