Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-59197

published high CVSS 3.1 · 8.2

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

Published
14 Jul 2026, 16:25:23 UTC
Updated
21 Jul 2026, 18:50:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
python-pillow — Pillow< 12.3.0 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2026-3839 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-2013 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 python3-pillow Advisory build 5.1.1-23.el8_10 ALSA-2026:48021
Oracle Linux 8 python3-pillowaarch64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Red Hat Enterprise Linux RHEL-8 python-pillowsrc Advisory build 5.1.1-15.el8_4.2 RHSA-2026:52551
SUSE / openSUSE SLE-15-SP4 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
AlmaLinux 8 python3-pillow-devel Advisory build 5.1.1-23.el8_10 ALSA-2026:48021
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 python3-pillow-doc Advisory build 5.1.1-23.el8_10 ALSA-2026:48021
AlmaLinux 8 python3-pillow-tk Advisory build 5.1.1-23.el8_10 ALSA-2026:48021
Oracle Linux 8 python3-pillowx86_64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Oracle Linux 8 python3-pillow-develaarch64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Oracle Linux 8 python3-pillow-develx86_64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Oracle Linux 8 python3-pillow-docaarch64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Oracle Linux 8 python3-pillow-docx86_64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Oracle Linux 8 python3-pillow-tkaarch64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Oracle Linux 8 python3-pillow-tkx86_64 Advisory build 0:5.1.1-23.el8_10 ELSA-2026-48021
Red Hat Enterprise Linux RHEL-8 python-pillowsrc Advisory build 5.1.1-20.el8_6.1 RHSA-2026:54528
Red Hat Enterprise Linux RHEL-8 python-pillowsrc Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python-pillowsrc Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfoaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfoi686 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfoppc64le Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfoppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfos390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfox86_64 Advisory build 5.1.1-15.el8_4.2 RHSA-2026:52551
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfox86_64 Advisory build 5.1.1-20.el8_6.1 RHSA-2026:54528
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfox86_64 Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfox86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourceaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourcei686 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourceppc64le Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourceppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsources390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourcex86_64 Advisory build 5.1.1-15.el8_4.2 RHSA-2026:52551
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourcex86_64 Advisory build 5.1.1-20.el8_6.1 RHSA-2026:54528
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourcex86_64 Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourcex86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillowaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillowi686 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillowppc64le Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python3-pillowppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillows390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillowx86_64 Advisory build 5.1.1-15.el8_4.2 RHSA-2026:52551
Red Hat Enterprise Linux RHEL-8 python3-pillowx86_64 Advisory build 5.1.1-20.el8_6.1 RHSA-2026:54528
Red Hat Enterprise Linux RHEL-8 python3-pillowx86_64 Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python3-pillowx86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfoaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfoi686 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfoppc64le Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfoppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfos390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfox86_64 Advisory build 5.1.1-15.el8_4.2 RHSA-2026:52551
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfox86_64 Advisory build 5.1.1-20.el8_6.1 RHSA-2026:54528
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfox86_64 Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfox86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-develaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-develi686 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-develppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-devels390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-develx86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-docnoarch Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tkaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tkppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tks390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tkx86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfoaarch64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfoi686 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfoppc64le Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfoppc64le Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfos390x Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfox86_64 Advisory build 5.1.1-15.el8_4.2 RHSA-2026:52551
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfox86_64 Advisory build 5.1.1-20.el8_6.1 RHSA-2026:54528
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfox86_64 Advisory build 5.1.1-20.el8_8.1 RHSA-2026:54417
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfox86_64 Advisory build 5.1.1-23.el8_10 RHSA-2026:48021
SUSE / openSUSE SLE-15-SP4 python311-Pillowppc64le Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP4 python311-Pillows390x Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP4 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillowppc64le Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillows390x Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillowppc64le Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillows390x Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
SUSE / openSUSE SLE-15-SP7 python3-Pillowaarch64 Advisory build 7.2.0-150300.3.30.1 SUSE-SU-2026:3084-1
SUSE / openSUSE SLE-15-SP7 python3-Pillowppc64le Advisory build 7.2.0-150300.3.30.1 SUSE-SU-2026:3084-1
SUSE / openSUSE SLE-15-SP7 python3-Pillows390x Advisory build 7.2.0-150300.3.30.1 SUSE-SU-2026:3084-1
SUSE / openSUSE SLE-15-SP7 python3-Pillowx86_64 Advisory build 7.2.0-150300.3.30.1 SUSE-SU-2026:3084-1
SUSE / openSUSE SLE-15-SP7 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
python-pillow Pillow < 12.3.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-787 CWE-787: Out-of-bounds Write (GitHub_M · cna)
  • CWE-190 CWE-190: Integer Overflow or Wraparound (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
66a1889765ebc030eddc7486f1145d1ca83440b57de9a5e465be8ac7880db87f
Ingested
23 Sep 2026, 09:22:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected