Live threats

All CVEs / Python

CVE-2023-50447Python Pillow

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jan 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-95
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pillow < 10.2.0 10.2.0 pip install "pillow>=10.2.0"
PyPI pillow < 10.2.0 10.2.0 pip install "pillow>=10.2.0"

Per OSV / GitHub Advisories (GHSA-3f63-hfp8-52jq, PYSEC-2026-457). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow≤ 10.1.0
debiandebian_linux10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.