High [CVE-2026-59197] Native heap out-of-bounds write
This high-severity Red Hat Linux advisory covers CVE-2026-59197 affecting Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Summary
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.
This can lead to denial of service and limited integrity impact via heap corruption. A remote attacker who can drive RankFilter with attacker-controlled sizes may crash the process or corrupt heap memory.
Red Hat severity: Important — CVSS 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H). Weakness: CWE-787.
Affected products named by the advisory: Red Hat Ansible Automation Platform 2.5 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 Enterprise Linux 8.4 Advanced Mission Critical Update Support; and 26 more.
Affected products named by the advisory: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support; Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On; Red Hat Enterprise Linux 8.8 Telecommunications Update Service; and 22 more.
Is CVE-2026-59197 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2026-59197 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2026-59197?
Upgrade to a fixed release named by Red Hat:
- 12.3.0
- python3.12-pillow-0:12.3.0-1.el8ap
- python3.12-pillow-0:12.3.0-1.el9ap
- python-pillow-0:5.1.1-23.el8_10
- python-pillow-0:5.1.1-15.el8_4.2
- python-pillow-0:5.1.1-20.el8_6.1
- python-pillow-0:5.1.1-20.el8_8.1
- python-pillow-0:12.3.0-1.el8pc
- python-pillow-0:12.3.0-1.el9pc
- rhaii/vllm-spyre-rhel9:1789681201
- rhaii/vllm-cpu-rhel9:1789681128
- rhaii/vllm-cuda-rhel9:1789681126
38 more fixed releases are listed below.
Confirm against the vendor advisory before you patch.
- < 12.3.0
Official advisory · high-confidence parse· fetched 5 days ago·verify at source
- 12.3.0
- python3.12-pillow-0:12.3.0-1.el8ap
- python3.12-pillow-0:12.3.0-1.el9ap
- python-pillow-0:5.1.1-23.el8_10
- python-pillow-0:5.1.1-15.el8_4.2
- python-pillow-0:5.1.1-20.el8_6.1
- python-pillow-0:5.1.1-20.el8_8.1
- python-pillow-0:12.3.0-1.el8pc
- python-pillow-0:12.3.0-1.el9pc
- rhaii/vllm-spyre-rhel9:1789681201
- rhaii/vllm-cpu-rhel9:1789681128
- rhaii/vllm-cuda-rhel9:1789681126
- rhaii/model-opt-cuda-rhel9:1789681126
- rhaii/vllm-rocm-rhel9:1789681126
- rhaii/vllm-cpu-rhel9:1790075793
- rhaii/vllm-spyre-rhel9:1790076141
- rhaii/vllm-cuda-rhel9:1790090131
- rhaii/vllm-rocm-rhel9:1790109620
- rhaii/model-opt-cuda-rhel9:1790076498
- ansible-automation-platform-26/hub-rhel9:1785753568
- ansible-automation-platform-26/lightspeed-chatbot-rhel9:1785646188
- ansible-automation-platform-27/hub-rhel9:1785376164
- ansible-automation-platform-27/lightspeed-chatbot-rhel9:1785426734
- rhelai3/disk-image-cuda-rhel9:1790957417
- rhelai3/bootc-aws-cuda-rhel9:1790881122
- rhelai3/bootc-azure-cuda-rhel9:1790881120
- rhelai3/bootc-azure-rocm-rhel9:1790707552
- rhelai3/bootc-cuda-rhel9:1790868254
- rhelai3/bootc-gcp-cuda-rhel9:1790881123
- rhelai3/bootc-rocm-rhel9:1790614447
- rhoai/odh-llm-d-inference-scheduler-rhel9:1789662430
- rhoai/odh-mlflow-rhel9:1789653606
- rhoai/odh-automl-rhel9:1786612415
- rhoai/odh-autorag-rhel9:1786612637
- rhoai/odh-llm-d-kv-cache-rhel9:1787169432
- rhoai/odh-mlflow-rhel9:1787226790
- rhoai/odh-openvino-model-server-rhel9:1787303251
- rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1787073866
- rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1787073873
- rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1787073459
- rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1787073611
- RHSA-2026:50319
- RHSA-2026:50336
- RHSA-2026:48021
- RHSA-2026:52551
- RHSA-2026:54528
- RHSA-2026:54417
- RHSA-2026:50223
- RHSA-2026:69464
- RHSA-2026:69466
Official advisory · high-confidence parse· fetched 5 days ago·verify at source
Mitigation
Upgrade to a fixed release: 12.3.0, python3.12-pillow-0:12.3.0-1.el8ap, python3.12-pillow-0:12.3.0-1.el9ap, python-pillow-0:5.1.1-23.el8_10, python-pillow-0:5.1.1-15.el8_4.2, python-pillow-0:5.1.1-20.el8_6.1. That is the remediation for this advisory.
The vendor advisory may list interim mitigations or workarounds not captured here. Review it before change work.
Official advisory · high-confidence parse· fetched 5 days ago·verify at source
Get an email when Red Hat RHEL & SELinux publishes the next one.
See Red Hat RHEL & SELinux's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Red Hat Linux advisories
- CVE-2026-48710May 26, 2026Security restriction bypass via malformed HTTP Host header
- CVE-2026-46300May 13, 2026"Fragnesia" is a variant of Dirty Frag vulnerability in the ESP/XFRM leading to Local
- CVE-2026-31431Apr 22, 2026algif_aead - Revert to operating out-of-place
- CVE-2025-31277Mar 18, 2026Processing maliciously crafted web content may lead to memory corruption
- CVE-2026-42271May 8, 2026Authenticated command execution via MCP stdio test endpoints
- CVE-2026-34486Apr 9, 2026Missing Encryption of Sensitive Data due to EncryptInterceptor bypass
iPhone and Android apps · New on the App Store
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.