ADVISORIES

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

    Important CVE-2026-54058CVE-2026-59197CVE-2026-59199CVE-2026-59205 Amazon Linux Updated 4 August 2026
  • ALAS2023-2026-2013

    Amazon Linux 2023 - ALAS2023-2026-2013: Important priority package update for python-pillow

    Important CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 Amazon Linux Updated 4 August 2026
  • ALSA-2026:48021

    Important: python-pillow security update

    CVE-2026-54058CVE-2026-59197 AlmaLinux Updated 29 October 2026
  • CGA-25g8-jm2p-3v4x
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-268j-pg99-2g6v
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-2rf8-ghg7-gf82
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-32q5-qx2w-35c7
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-474r-88mf-9rw8
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-48w3-h543-959m
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-4m6j-3wgx-6rwr
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-57j4-r35v-qg2p
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-777w-jpwq-j63c
    CVE-2026-59197 ChainguardWolfi Updated 18 September 2026
  • CGA-7ghw-g455-84f3
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-8q86-9jwh-g2mr
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-8qvv-2q5p-cw94
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-9rcm-8rcj-hx6v
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-chhm-4ch3-w555
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-ff3f-hqch-8mq7
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-h96j-7hh7-9549
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-hmh4-77gg-mf4p
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-j5q9-h8qw-6vfr
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-j8jh-2jf6-j926
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-jf3w-4h52-4fpf
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-qgq5-x6jh-4xj3
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-r5hj-5vmj-3x5m
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-rcgj-7xfw-82c5
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-rj28-h356-9vc6
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-rj54-65v6-rgf9
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-v4wv-7q22-r4hv
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-v5rj-7rmm-h4c5
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • CGA-w7pq-8jr8-8x6h
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-xfxj-2j52-94qw
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-xp4f-49q7-9fgx
    CVE-2026-59197 Chainguard Updated 5 November 2026
  • CGA-xrqw-94rv-p7xq
    CVE-2026-59197 ChainguardWolfi Updated 5 November 2026
  • 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…

    CVE-2026-59197 Debian Updated 25 October 2026
  • ELSA-2026-48021

    ELSA-2026-48021: python-pillow security update (IMPORTANT)

    Important CVE-2026-54058CVE-2026-59197 Oracle Linux Updated 30 July 2026
  • GHSA-xj96-63gp-2gmr

    Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`

    High CVE-2026-59197 PyPI Updated 10 September 2026
  • OESA-2026-3137

    python-pillow security update

    High CVE-2026-54059CVE-2026-54060CVE-2026-55379CVE-2026-55380 openEuler Updated 18 August 2026
  • OESA-2026-3138

    python-pillow security update

    High CVE-2026-54059CVE-2026-54060CVE-2026-55379CVE-2026-55380 openEuler Updated 18 August 2026
  • OESA-2026-3185

    python-pillow security update

    High CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 openEuler Updated 18 August 2026
  • OESA-2026-3186

    python-pillow security update

    High CVE-2026-54058CVE-2026-59197CVE-2026-59199CVE-2026-59200 openEuler Updated 18 August 2026
  • OESA-2026-3189

    python-pillow security update

    High CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 openEuler Updated 18 August 2026
  • 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…

    CVE-2026-59197 PyPI Updated 22 July 2026
  • RHSA-2026:48021

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-54058CVE-2026-59197 Red Hat Updated 13 November 2026
  • RHSA-2026:50223

    Red Hat Security Advisory: Satellite 6.16.12 Async Update

    CVE-2025-9230CVE-2026-12515CVE-2026-2332CVE-2026-48526 Red Hat Updated 23 November 2026
  • RHSA-2026:50319

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

    CVE-2026-12383CVE-2026-27145CVE-2026-33811CVE-2026-34993 Red Hat Updated 23 November 2026
  • RHSA-2026:50336

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-12383CVE-2026-18141CVE-2026-33811CVE-2026-34993 Red Hat Updated 23 November 2026
  • RHSA-2026:52551

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-54058CVE-2026-54059CVE-2026-54060CVE-2026-55379 Red Hat Updated 13 November 2026
  • RHSA-2026:54417

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-54058CVE-2026-59197 Red Hat Updated 13 November 2026
  • RHSA-2026:54528

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-54058CVE-2026-59197 Red Hat Updated 13 November 2026
  • RLSA-2026:48021

    Important: python-pillow security update

    CVE-2026-54058CVE-2026-59197 Rocky Linux Updated 31 July 2026
  • SUSE-SU-2026:23217-1

    Security update for python-Pillow

    CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 SUSE Updated 27 August 2026
  • SUSE-SU-2026:23228-1

    Security update for python-Pillow

    CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 SUSE Updated 27 August 2026
  • SUSE-SU-2026:3084-1

    Security update for python-Pillow

    CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 SUSE Updated 17 July 2026
  • SUSE-SU-2026:3268-1

    Security update for python-Pillow

    CVE-2026-54058CVE-2026-54059CVE-2026-54060CVE-2026-55379 SUSE Updated 28 July 2026
  • 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…

    CVE-2026-59197 Ubuntu Updated 12 November 2026
  • USN-8999-1

    pillow vulnerabilities

    CVE-2026-54058CVE-2026-54059CVE-2026-54060CVE-2026-55379 Ubuntu Updated 5 November 2026
  • openSUSE-SU-2026:21544-1

    Security update for python-Pillow

    CVE-2026-54058CVE-2026-59197CVE-2026-59198CVE-2026-59199 openSUSE Updated 12 August 2026

References