Vulnerability
CVE-2026-59197
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.
58 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2026-3839
Amazon Linux 2 2017.12 - ALAS2-2026-3839: important priority package update for python-pillow
-
ALAS2023-2026-2013
Amazon Linux 2023 - ALAS2023-2026-2013: Important priority package update for python-pillow
-
ALSA-2026:48021
Important: python-pillow security update
- CGA-25g8-jm2p-3v4x
- CGA-268j-pg99-2g6v
- CGA-2rf8-ghg7-gf82
- CGA-32q5-qx2w-35c7
- CGA-474r-88mf-9rw8
- CGA-48w3-h543-959m
- CGA-4m6j-3wgx-6rwr
- CGA-57j4-r35v-qg2p
- CGA-777w-jpwq-j63c
- CGA-7ghw-g455-84f3
- CGA-8q86-9jwh-g2mr
- CGA-8qvv-2q5p-cw94
- CGA-9rcm-8rcj-hx6v
- CGA-chhm-4ch3-w555
- CGA-ff3f-hqch-8mq7
- CGA-h96j-7hh7-9549
- CGA-hmh4-77gg-mf4p
- CGA-j5q9-h8qw-6vfr
- CGA-j8jh-2jf6-j926
- CGA-jf3w-4h52-4fpf
- CGA-qgq5-x6jh-4xj3
- CGA-r5hj-5vmj-3x5m
- CGA-rcgj-7xfw-82c5
- CGA-rj28-h356-9vc6
- CGA-rj54-65v6-rgf9
- CGA-v4wv-7q22-r4hv
- CGA-v5rj-7rmm-h4c5
- CGA-w7pq-8jr8-8x6h
- CGA-xfxj-2j52-94qw
- CGA-xp4f-49q7-9fgx
- CGA-xrqw-94rv-p7xq
-
DEBIAN-CVE-2026-59197
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…
-
ELSA-2026-48021
ELSA-2026-48021: python-pillow security update (IMPORTANT)
-
GHSA-xj96-63gp-2gmr
Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`
-
OESA-2026-3137
python-pillow security update
-
OESA-2026-3138
python-pillow security update
-
OESA-2026-3185
python-pillow security update
-
OESA-2026-3186
python-pillow security update
-
OESA-2026-3189
python-pillow security update
-
PYSEC-2026-3454
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…
-
RHSA-2026:48021
Red Hat Security Advisory: python-pillow security update
-
RHSA-2026:50223
Red Hat Security Advisory: Satellite 6.16.12 Async Update
-
RHSA-2026:50319
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2026:50336
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:52551
Red Hat Security Advisory: python-pillow security update
-
RHSA-2026:54417
Red Hat Security Advisory: python-pillow security update
-
RHSA-2026:54528
Red Hat Security Advisory: python-pillow security update
-
RLSA-2026:48021
Important: python-pillow security update
-
SUSE-SU-2026:23217-1
Security update for python-Pillow
-
SUSE-SU-2026:23228-1
Security update for python-Pillow
-
SUSE-SU-2026:3084-1
Security update for python-Pillow
-
SUSE-SU-2026:3268-1
Security update for python-Pillow
-
UBUNTU-CVE-2026-59197
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…
-
USN-8999-1
pillow vulnerabilities
-
openSUSE-SU-2026:21544-1
Security update for python-Pillow