CVE-2023-50447

GHSA-3f63-hfp8-52jq · published 19 Jan 2024 · updated 16 Nov 2026

Arbitrary Code Execution in Pillow

8.1HighCVSS 8.1EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in Pillow 10.2.0 and pillow 10.2.0.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pypi: Pillow<10.2.010.2.0
pypi: pillow<10.2.010.2.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Pillow (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-50447 severity on Zeptric[![CVE-2023-50447](https://zeptric.io/badge/cve/CVE-2023-50447.svg)](https://zeptric.io/cve/CVE-2023-50447)