CVE catalog

CVE-2023-50447

pillow: CVE-2023-50447

[CVE catalog]

Severity
High · CVSS 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.70% · Oct 25, 2026

A vulnerability was found in Pillow, a popular Python imaging library. The flaw identified in the PIL.ImageMath.eval function enables arbitrary code execution by manipulating the environment parameter. pillow: Arbitrary Code Execution via the environment parameter 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. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpillowsid13.0.0-1fixed
Debianpillowforky12.3.0-1fixed
Debianpillowtrixie11.1.0-5+deb13u4fixed
Debianpillowtrixie-security11.1.0-5+deb13u3fixed
Debianpillowbookworm9.4.0-1.1+deb12u1fixed
Debianpillowbookworm-security9.4.0-1.1+deb12u1fixed
PyPIpillowNot reported10.2.0fixed
PyPIpillowNot reported10.2.0fixed
Ubuntupillowpro4.1.1-3build2vulnerable
Ubuntupillowpro4.3.0-2ubuntu1vulnerable
Ubuntupillowpro5.0.0-1vulnerable
Ubuntupillowpro5.1.0-1vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.2vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.3vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.4vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.5vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.6vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.7vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.8vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.8+esm1vulnerable
Ubuntupillowpro5.1.0-1ubuntu0.8+esm2fixed
Ubuntupillow20.046.1.0-1vulnerable
Ubuntupillow20.046.1.0-1build1vulnerable
Ubuntupillow20.046.2.1-2vulnerable
Ubuntupillow20.047.0.0-4vulnerable
Ubuntupillow20.047.0.0-4build1vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.1vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.2vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.3vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.4vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.5vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.6vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.7vulnerable
Ubuntupillow20.047.0.0-4ubuntu0.8fixed
Ubuntupillow-python2pro6.2.1-3~build1vulnerable
Ubuntupillow-python2pro6.2.1-3vulnerable
Ubuntupillow-python2pro6.2.1-3ubuntu0.1~esm1vulnerable
Ubuntupillow-python2pro6.2.1-3ubuntu0.1~esm2vulnerable
Ubuntupillow22.048.1.2+dfsg-0.3vulnerable
Ubuntupillow22.049.0.0-1vulnerable
Ubuntupillow22.049.0.1-1vulnerable
Ubuntupillow22.049.0.1-1build1vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.1vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.2fixed
Ubuntupillow24.0410.0.0-1vulnerable
Ubuntupillow24.0410.1.0-1vulnerable
Ubuntupillow24.0410.2.0-1fixed
Opensusepython-Pillowtumbleweed10.2.0-1.1fixed
Susepython-Pillowlinux enterprise module for python 3 15 sp59.5.0-150400.5.9.1fixed
Susepython-Pillowlinux enterprise high performance computing 15 sp4-espos9.5.0-150400.5.9.1fixed
Susepython-Pillowlinux enterprise high performance computing 15 sp4-ltss9.5.0-150400.5.9.1fixed
Susepython-Pillowlinux enterprise server 15 sp4-ltss9.5.0-150400.5.9.1fixed
Susepython-Pillowlinux enterprise server for sap applications 15 sp49.5.0-150400.5.9.1fixed
Opensusepython-Pillowleap 15.59.5.0-150400.5.9.1fixed
Susepython-Pillowpackage hub 15 sp58.4.0-bp155.3.3.1fixed
Opensusepython-Pillowleap 15.58.4.0-bp155.3.3.1fixed
Susepython-Pillowopenstack cloud 95.2.0-3.23.1fixed
Susepython-Pillowopenstack cloud crowbar 95.2.0-3.23.1fixed
Opensusepython-Pillowleap 15.57.2.0-150300.3.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpillowsourcesid10.2.0-1not yet assignedNot reported[1061172]
Debianpillowsourceforky10.2.0-1not yet assignedNot reported[1061172]
Debianpillowsourcetrixie10.2.0-1not yet assignedNot reported[1061172]
Debianpillowsourcebookworm9.4.0-1.1+deb12u1not yet assignedNot reported[1061172]
PyPIpillowPyPINot reported10.2.0Not reportedPYSEC-2026-457Not reported
PyPIpillowPyPINot reported10.2.0Not reportedGHSA-3F63-HFP8-52JQNot reported
Ubuntupillowdebpro5.1.0-1ubuntu0.8+esm2Not reportedUBUNTU-CVE-2023-50447Not reported
Ubuntupillowdeb20.047.0.0-4ubuntu0.8Not reportedUBUNTU-CVE-2023-50447Not reported
Ubuntupillowdeb22.049.0.1-1ubuntu0.2Not reportedUBUNTU-CVE-2023-50447Not reported
Ubuntupillowdeb24.0410.2.0-1Not reportedUBUNTU-CVE-2023-50447Not reported
Opensusepython-Pillowrpmtumbleweed10.2.0-1.1Not reportedOPENSUSE-SU-2024:13611-1Not reported
Susepython-Pillowrpmlinux enterprise module for python 3 15 sp59.5.0-150400.5.9.1Not reportedSUSE-SU-2024:0205-1Not reported
Susepython-Pillowrpmlinux enterprise high performance computing 15 sp4-espos9.5.0-150400.5.9.1Not reportedSUSE-SU-2024:0205-1Not reported
Susepython-Pillowrpmlinux enterprise high performance computing 15 sp4-ltss9.5.0-150400.5.9.1Not reportedSUSE-SU-2024:0205-1Not reported
Susepython-Pillowrpmlinux enterprise server 15 sp4-ltss9.5.0-150400.5.9.1Not reportedSUSE-SU-2024:0205-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 15 sp49.5.0-150400.5.9.1Not reportedSUSE-SU-2024:0205-1Not reported
Opensusepython-Pillowrpmleap 15.59.5.0-150400.5.9.1Not reportedSUSE-SU-2024:0205-1Not reported
Susepython-Pillowrpmpackage hub 15 sp58.4.0-bp155.3.3.1Not reportedOPENSUSE-SU-2024:0125-1Not reported
Opensusepython-Pillowrpmleap 15.58.4.0-bp155.3.3.1Not reportedOPENSUSE-SU-2024:0125-1Not reported
Susepython-Pillowrpmopenstack cloud 95.2.0-3.23.1Not reportedSUSE-SU-2024:0439-1Not reported
Susepython-Pillowrpmopenstack cloud crowbar 95.2.0-3.23.1Not reportedSUSE-SU-2024:0439-1Not reported
Opensusepython-Pillowrpmleap 15.57.2.0-150300.3.6.1Not reportedSUSE-SU-2024:0185-1Not reported

[Debian bug #1061172]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References