VDB

CVE-2026-59197

CVE-2026-59197 PUBLISHED CVSS 8.2 HIGH

Reported by github_m · Published July 14, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-pillow-debugsourceerrata.rockylinux.org5.1.1-23.el8
tritonserver-backend-vllm-cuda-13.0Chainguard25.11-r11
openstack-horizon-2025.2Chainguard25.5.2_git20260617-r4
python-pillow-develAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.20
python-pillow-docAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.20
superset-6.1Wolfi6.1.0-r6
superset-6.1Chainguard6.1.0-r6
pillowpython12.3.0

Risk scores

CVSS 3.1
8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
python-pillowPillow< 12.3.0
chainguardtritonserver-backend-vllm-cuda-13.00
chainguardopenstack-horizon-2025.20
python-pillowPillow
amazon:2python-pillow-devel0
amazon:2python-pillow-doc0
wolfisuperset-6.10
chainguardsuperset-6.10
python-pillowPillow0
chainguardopen-webui0
chainguardmlflow0, 0
chainguardsuperset-fips-6.10
wolfiopen-webui0
amazon:2023python3-pillow-devel0
chainguardlmcache-cuda-12.80
chainguardlabel-studio0
wolfisuperset-6.00
chainguardopenstack-horizon-2026.1-fips0
chainguardsuperset-6.00
wolfimlflow0, 0

…and 10 more

Timeline

  • Jul 14, 2026 CVE Published
  • Jul 15, 2026 Coalition ESS Score
  • Jul 31, 2026 Distribution Patch (13 in total, the first dated here)
  • Jul 31, 2026 Security Advisory (13 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 12, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-59197
vulnetix vdb fixes CVE-2026-59197

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-59197/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›