CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.1). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 10.2.0.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hpillow (PyPI): fixed in 10.2.0Explain CVE-2023-50447 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-50447?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-50447?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-50447 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| python:pillow | through 10.1.0 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-3f63-hfp8-52jq | PyPI | pillow | <10.2.0 | 10.2.0 |
| PYSEC-2026-457 | PyPI | pillow | <10.2.0 | 10.2.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | pillow | 5.4.1-2+deb10u4 | DLA-3724-1 |
| Debian | 11 | pillow | 8.1.2+dfsg-0.3+deb11u2 | DSA-5704-1 |
| Debian | 12 | pillow | 9.4.0-1.1+deb12u1 | DEBIAN-CVE-2023-50447 DSA-5704-1 |
| Debian | 13, 14 | pillow | 10.2.0-1 | DEBIAN-CVE-2023-50447 |
| Ubuntu | 20.04:LTS | pillow | 7.0.0-4ubuntu0.8 | UBUNTU-CVE-2023-50447 USN-6618-1 |
| Ubuntu | 22.04:LTS | pillow | 9.0.1-1ubuntu0.2 | UBUNTU-CVE-2023-50447 USN-6618-1 |
| Ubuntu | 24.04:LTS | pillow | 10.2.0-1 | UBUNTU-CVE-2023-50447 |
| Ubuntu | Pro:14.04:LTS | pillow | 2.3.0-1ubuntu3.4+esm5 | UBUNTU-CVE-2023-50447 |
| Ubuntu | Pro:16.04:LTS | pillow | 3.1.2-0ubuntu1.6+esm3 | UBUNTU-CVE-2023-50447 |
| Ubuntu | Pro:18.04:LTS | pillow | 5.1.0-1ubuntu0.8+esm2 | UBUNTU-CVE-2023-50447 |
| Ubuntu | Pro:20.04:LTS | pillow-python2 | no fix listed | UBUNTU-CVE-2023-50447 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-hub, python39-galaxy-ng, python3x-galaxy-ng | 0:4.9.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more | 0:3.9.5-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-gunicorn, python3x-gunicorn | 0:22.0.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more | 0:10.3.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pydantic, python3x-pydantic | 0:1.10.15-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-social-auth-app-django, python3x-social-auth-app-django | 0:5.4.1-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-sqlparse, python3x-sqlparse | 0:0.5.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-idna, python3x-idna | 0:3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-requests, python3x-requests | 0:2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-black, python3x-black | 0:22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-cryptography, python3x-cryptography, python39-cryptography-debuginfo and 1 more | 0:42.0.5-1.el8ap | RHSA-2024:3781 |
| 25 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-Pillow | 4.2.1-3.26.1 | SUSE-SU-2024:0290-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Python 3 15 SP5 and 2 more | python-Pillow | 9.5.0-150400.5.9.1 | SUSE-SU-2024:0205-1 |
| SUSE | OpenStack Cloud 9, OpenStack Cloud Crowbar 9 | python-Pillow | 5.2.0-3.23.1 | SUSE-SU-2024:0439-1 |
| SUSE | Package Hub 15 SP5 | python-Pillow | 8.4.0-bp155.3.3.1 | openSUSE-SU-2024:0125-1 |
| openSUSE | Leap 15.5 | python-Pillow | 7.2.0-150300.3.6.1 | SUSE-SU-2024:0185-1 |
| openSUSE | Leap 15.5 | python-Pillow | 8.4.0-bp155.3.3.1 | openSUSE-SU-2024:0125-1 |
| openSUSE | Leap 15.5 | python-Pillow | 9.5.0-150400.5.9.1 | SUSE-SU-2024:0205-1 |
| openSUSE | Tumbleweed | python-Pillow | 10.2.0-1.1 | openSUSE-SU-2024:13611-1 |
| openSUSE | Tumbleweed | python-Pillow | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| AlmaLinux | 8 | python3-pillow, python3-pillow-tk, python3-pillow-doc and 1 more | 5.1.1-18.el8_9.1.alma.1 | ALSA-2024:0893 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | py3-pillow | 10.2.0-r0 | ALPINE-CVE-2023-50447 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
The vulnerability in Pillow's PIL.ImageMath.eval function poses a significant threat due to its potential for arbitrary code execution. Pillow's widespread use in diverse domains makes this flaw particularly impactful, as it could lead to unauthorized access, data breaches, and compromise of entire systems. The complex exploitation method involving Python's dunder methods adds sophistication to potential attacks.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | python3x-pillow-0:10.3.0-1.el8ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | python-pillow-0:10.3.0-1.el9ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Enterprise Linux 7 | python-pillow-0:2.0.0-25.gitd1c6db8.el7_9 | Fixed 2024-02-19 | RHSA-2024:0857 |
| Red Hat Enterprise Linux 8 | python-pillow-0:5.1.1-18.el8_9.1 | Fixed 2024-02-20 | RHSA-2024:0893 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | python-pillow-0:5.1.1-15.el8_2 | Fixed 2024-02-29 | RHSA-2024:1059 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | python-pillow-0:5.1.1-15.el8_4 | Fixed 2024-02-29 | RHSA-2024:1060 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | python-pillow-0:5.1.1-15.el8_4 | Fixed 2024-02-29 | RHSA-2024:1060 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | python-pillow-0:5.1.1-15.el8_4 | Fixed 2024-02-29 | RHSA-2024:1060 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | python-pillow-0:5.1.1-19.el8_6 | Fixed 2024-02-29 | RHSA-2024:1058 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | python-pillow-0:5.1.1-19.el8_8 | Fixed 2024-02-08 | RHSA-2024:0754 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-50447.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-203-04 | Schneider Electric EcoStruxure Power Operation (Update A) | 2025-07-22 | Commercial Facilities, Critical Manufacturing, Energy | Schneider Electric EcoStruxure Power Operation (EPO) 2022: <=CU6, Schneider Electric EcoStruxure Power Operation (EPO) 2024: <=CU1 | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.