Overview
A flaw was found in Pillow prior to 12.3.0. The public RankFilter API can trigger a native heap out-of-bounds write when given a very large odd filter size. ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation, and ImagingExpand() computes output dimensions with unchecked signed integer arithmetic. This can lead to denial of service and limited integrity impact via heap corruption.
Vendor advisories
- RHSA-2026:50319 · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9 · released 2026-08-04 · advisory
- RHSA-2026:50223 · Red Hat · fixed in: Red Hat Satellite 6.16 for RHEL 8, Red Hat Satellite 6.16 for RHEL 9 · released 2026-08-04 · advisory
- RHSA-2026:50336 · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.6 for RHEL 9 · released 2026-08-04 · advisory
- RHSA-2026:48021 · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2026-07-29 · advisory
- RHSA-2026:52551 · Red Hat · fixed in: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) · released 2026-08-10 · advisory
- RHSA-2026:54528 · Red Hat · fixed in: Red Hat Enterprise Linux AppStream AUS (v.8.6), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) · released 2026-08-13 · advisory
- RHSA-2026:54417 · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-08-12 · advisory
- RHSA-2026:70996 · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-23 · advisory
- RHSA-2026:69468 · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-21 · advisory
- RHSA-2026:69466 · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-21 · advisory
- RHSA-2026:70965 · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-23 · advisory
- Red Hat VEX · Important · affected: Exploit Intelligence, Lightspeed Core, OpenShift Lightspeed, Red Hat AI Inference Server, Red Hat Ansible Automation Platform 2, Red Hat Enterprise Linux AI (RHEL AI) 3, … · no fix planned: Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, Exploit Intelligence, Lightspeed Core, … · updated 2026-10-15 · vex
- RHSA-2026:69467 · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-21 · advisory
- RHSA-2026:69469 · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-21 · advisory
- RHSA-2026:50479 · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.6 · released 2026-08-04 · advisory
- RHSA-2026:50340 · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.7 · released 2026-08-04 · advisory
- RHSA-2026:60520 · Red Hat · fixed in: Red Hat OpenShift AI 3.4 · released 2026-08-27 · advisory
- RHSA-2026:53520 · Red Hat · fixed in: Red Hat Quay 3.10 · released 2026-08-11 · advisory
Pillow: Pillow: Native heap out-of-bounds write — rated Important by Red Hat. Released 2026-07-14, updated 2026-10-15.
Affected:
- Exploit Intelligence
- Lightspeed Core
- OpenShift Lightspeed
- Red Hat AI Inference Server
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat OpenShift AI (RHOAI)
- Red Hat Satellite 6
Fixed:
- Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat Satellite 6.16 for RHEL 8
- Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat Satellite 6.16 for RHEL 9
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux AppStream AUS (v.8.4)
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4)
- Red Hat Enterprise Linux AppStream AUS (v.8.6)
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- Red Hat Enterprise Linux AppStream E4S (v.8.8)
- Red Hat Enterprise Linux AppStream TUS (v.8.8)
- Red Hat Enterprise Linux CRB (v. 8)
- Red Hat AI Inference Server 3.4
- Red Hat Ansible Automation Platform 2.6
- Red Hat Ansible Automation Platform 2.7
- Red Hat Enterprise Linux AI 3.4
- Red Hat OpenShift AI 3.3
- Red Hat OpenShift AI 3.4
- Red Hat Quay 3.10
- Red Hat Quay 3.12
- Red Hat Quay 3.14
- Red Hat Quay 3.15
- Red Hat Quay 3.16
- Red Hat Quay 3.17
- Red Hat Quay 3.18
- Red Hat Quay 3.9
No fix planned:
- Red Hat AI Inference Server
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Exploit Intelligence
- Lightspeed Core
- OpenShift Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat OpenShift AI (RHOAI)
- Red Hat Satellite 6
Not affected:
- Red Hat Ansible Automation Platform 2.6 for RHEL 10
- Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat Satellite 6.16 for RHEL 8
- Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat Satellite 6.16 for RHEL 9
- Red Hat Ansible Automation Platform 2.6
- Red Hat Ansible Automation Platform 2.7
- Red Hat OpenShift AI 3.3
- Red Hat OpenShift AI 3.4
Remediation
For details on how to apply this update, refer to Ansible Automation Platform documentation. https://access.redhat.com/errata/RHSA-2026:50319
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
For detailed instructions how to apply this update, refer to:
https://docs.redhat.com/en/documentation/red_hat_satellite/6.16/html/updating_red_hat_satellite/index https://access.redhat.com/errata/RHSA-2026:50223
For details on how to apply this update, refer to Ansible Automation Platform documentation. https://access.redhat.com/errata/RHSA-2026:50336
Package advisory (CVE-2026-59197)
Affected packages:
Patched in:
Source: https://osv.dev/vulnerability/GHSA-xj96-63gp-2gmr