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