> CVE-2026-59197 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-14 17:17
MODIFIED
2026-07-14 17:17
CVSS_SCORE V3
8.2
EPSS (Prob. Exploit)
0.45%
Top 62.2%
DATA SOURCES:
NVD 🔗 2026-07-14 RED HAT 🔗 2026-07-19 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-07-20

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EXPLOITABILITY
3.9
IMPACT
4.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-190 CWE-787

> CWE DETAILED DESCRIPTIONS

CWE-190: Integer Overflow or Wraparound - The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. | CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: python-pillow security update
An update for python-pillow is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Sy...
Red Hat Security Advisory: Red Hat Quay 3.15.7
Red Hat Quay 3.15.7 is now available with bug fixes.
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
An update is now available for Red Hat Ansible Automation Platform 2.6
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
An update is now available for Red Hat Ansible Automation Platform 2.6 Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (...
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Container Release Update
An update is now available for Red Hat Ansible Automation Platform 2.7
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
An update is now available for Red Hat Ansible Automation Platform 2.5 Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (...
Red Hat Security Advisory: Satellite 6.16.12 Async Update
An update is now available for Red Hat Satellite 6.16 for RHEL 8 and RHEL 9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Sy...
Red Hat Security Advisory: Red Hat Quay 3.9.25
Red Hat Quay 3.9.25 is now available with bug fixes.
Red Hat Security Advisory: Red Hat Quay 3.12.21
Red Hat Quay 3.12.21 is now available with bug fixes.
Red Hat Security Advisory: python-pillow security update
An update for python-pillow is now available for Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support and Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On. Red H...
Red Hat Security Advisory: Red Hat Quay 3.10.25
Red Hat Quay 3.10.25 is now available with bug fixes.
Red Hat Security Advisory: python-pillow security update
An update for python-pillow is now available for Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions and Red Hat Enterprise Linux 8.8 Telecommunications Update Service. Red Hat Product Sec...
Red Hat Security Advisory: python-pillow security update
An update for python-pillow is now available for Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support and Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On. Red H...
Red Hat Security Advisory: RHOAI 3.4.4 - Red Hat OpenShift AI
Updated images are now available for Red Hat OpenShift AI.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (rocm)
Red Hat AI Inference 3.4.5 (rocm) is now available.
Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.4.5 (cuda)
Red Hat AI Inference Model Optimization Tools 3.4.5 (cuda) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cuda)
Red Hat AI Inference 3.4.5 (cuda) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cpu)
Red Hat AI Inference 3.4.5 (cpu) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (spyre)
Red Hat AI Inference 3.4.5 (spyre) is now available.
Red Hat Security Advisory: Red Hat Quay 3.16.6
Red Hat Quay 3.16.6 is now available with bug fixes.
Red Hat Security Advisory: Red Hat Quay 3.14.9
Red Hat Quay 3.14.9 is now available with bug fixes.
Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.4.5 (cuda)
Red Hat AI Inference Model Optimization Tools 3.4.5 (cuda) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (rocm)
Red Hat AI Inference 3.4.5 (rocm) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cuda)
Red Hat AI Inference 3.4.5 (cuda) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (spyre)
Red Hat AI Inference 3.4.5 (spyre) is now available.
Red Hat Security Advisory: Red Hat AI Inference 3.4.5 (cpu)
Red Hat AI Inference 3.4.5 (cpu) is now available.
Red Hat Security Advisory: RHOAI 3.3.7 - Red Hat OpenShift AI
Updated images are now available for Red Hat OpenShift AI.
Red Hat Security Advisory: Red Hat Quay 3.17.5
Red Hat Quay 3.17.5 is now available with bug fixes.
Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update
Updated Red Hat Enterprise Linux AI 3.4.5 container images are now available.
Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update
Updated Red Hat Enterprise Linux AI 3.4.5 container disk images are now available.
Red Hat Security Advisory: Red Hat Quay
A new version of Red Hat Quay is now available.

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Important

> GITHUB SECURITY ADVISORY

GHSA-xj96-63gp-2gmr HIGH

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

AFFECTED PACKAGES:
PIP / Pillow
< 12.3.0
Fixed in: 12.3.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
61 versions affected
ALIASES:
GHSA-xj96-63gp-2gmr

> HISTORIQUE DES MODIFICATIONS

Première apparition
14/07/2026 17:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-190: Integer Overflow or Wraparound - The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will a...
📊 ENRICHISSEMENT 19/07/2026 05:01
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Important", "severity_scale": null }
📊 ENRICHISSEMENT 19/07/2026 05:01
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 3 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/python-pillow/Pillow/commit/cce3bdb867c77a3420261ed1bfdb6b078...
https://github.com/python-pillow/Pillow/pull/9695
https://github.com/python-pillow/Pillow/releases/tag/12.3.0
https://github.com/python-pillow/Pillow/security/advisories/GHSA-xj96-63gp-2gmr
« BACK_TO_HOME