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.
This high-severity CVE scores 8.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4% (36th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.
- 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 intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity82% × 45%The EG Score, 8.2 of 10.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
- 36th
- KEV
- Not listed
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.
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
July 21, 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: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)
- RHSA-2026:70965Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cpu)
- +12 more
Patch Availability(29)
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
(10)
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
Data Freshness Timeline
(refreshed 13× in last 7d / 42× 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 207 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 107 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 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
Show 75 moreShow fewer
- 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
- 2026-08-27 21:33 UTCVendor advisory
- 2026-08-27 14:25 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-27 03:14 UTCEG score recompute
- 2026-08-27 03:14 UTCVendor advisory
- 2026-08-26 14:46 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-26 14:29 UTCVendor advisory
- 2026-08-26 01:44 UTCEG score recompute
- 2026-08-26 01:44 UTCVendor advisory
- 2026-08-25 13:49 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-08-25 10:54 UTCVendor advisory
- 2026-08-24 22:02 UTCEG score recompute
- 2026-08-24 22:02 UTCVendor advisory
- 2026-08-24 09:16 UTCVendor advisory
- 2026-08-23 19:41 UTCVendor advisory
- 2026-08-23 06:56 UTCEG score recompute
- 2026-08-23 06:56 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-08-22 18:10 UTCVendor advisory
- 2026-08-22 05:25 UTCEG score recompute
- 2026-08-22 05:25 UTCVendor advisory
- 2026-08-21 23:49 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-08-21 16:40 UTCVendor advisory
- 2026-08-21 03:32 UTCEG score recompute
- 2026-08-21 03:32 UTCVendor advisory
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.4% · 36th percentile
- 2026-08-20 14:39 UTCVendor advisory
- 2026-08-20 01:05 UTCEG score recompute
- 2026-08-20 01:05 UTCVendor advisory
- 2026-08-19 17:04 UTCEPSS rescoreEPSS 0.4% · 36th percentile
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:pillow
Same vendor
10 shownredhat:RHSA-2026:48021 · redhat:RHSA-2026:48933 · redhat:RHSA-2026:60520
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.