---
cve: "CVE-2026-59197"
severity: "HIGH"
cvss: 8.2
epss: "44%"
vendor: "python-pillow"
kev: false
exploited: false
published: "2026-07-14 17:17:14"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T17:00:47+02:00"
---

# CVE-2026-59197

> 8.2 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- bb1d8e8ab8d29048624d96e3ee53cecf7c13d13d (Commit)
- cce3bdb867c77a3420261ed1bfdb6b0787ec8fc1 (Commit)

## Referenzen

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-xj96-63gp-2gmr>
- <https://github.com/python-pillow/Pillow/pull/9695>
- <https://github.com/python-pillow/Pillow/commit/cce3bdb867c77a3420261ed1bfdb6b0787ec8fc1>
- <https://github.com/python-pillow/Pillow/releases/tag/12.3.0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-59197) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
