CVE-2026-59197
2 advisories.
PyPI/pillow CVE-2026-59197: high 8.2, EPSS 0.45%
Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`
Action: Upgrade pillow to 12.3.0 or later.
pip install pillow==12.3.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 12.3.0 | - |
Fixed versions
| 12.3.0 |
Sources
- osv: GHSA-xj96-63gp-2gmr
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xj96-63gp-2gmr
- https://nvd.nist.gov/vuln/detail/CVE-2026-59197
- https://github.com/python-pillow/Pillow/pull/9695
- https://github.com/python-pillow/Pillow/commit/cce3bdb867c77a3420261ed1bfdb6b0787ec8fc1
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0
CVE-2026-59197 · published · modified · JSON
PyPI/pillow CVE-2026-59197: high 8.2, EPSS 0.45%
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.RankFilte
Action: Upgrade pillow to 12.3.0 or later.
pip install pillow==12.3.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 12.3.0 | - |
Fixed versions
| 12.3.0 |
Sources
- osv: PYSEC-2026-3454
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0
- https://github.com/python-pillow/Pillow/commit/cce3bdb867c77a3420261ed1bfdb6b0787ec8fc1
- https://github.com/python-pillow/Pillow/pull/9695
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xj96-63gp-2gmr
CVE-2026-59197 · published · modified · JSON