{"cve":"CVE-2023-50447","nvd":{"published":"2024-01-19T20:15:11.870","modified":"2026-06-17T06:39:39.007","status":"Modified","description":"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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-94","CWE-95"],"references":["http://www.openwall.com/lists/oss-security/2024/01/20/1","https://devhub.checkmarx.com/cve-details/CVE-2023-50447/","https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/","https://github.com/python-pillow/Pillow/releases","https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html"],"products":["debian:debian_linux","python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2023-50447","score":0.01703,"percentile":0.77247,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3f63-hfp8-52jq","url":"https://osv.dev/vulnerability/GHSA-3f63-hfp8-52jq","summary":"Arbitrary Code Execution in Pillow","modified":"2026-09-10T03:50:04.766695102Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<10.2.0"],"fixed":["10.2.0"]}]},{"id":"PYSEC-2026-457","url":"https://osv.dev/vulnerability/PYSEC-2026-457","summary":"Arbitrary Code Execution in Pillow","modified":"2026-07-01T20:23:00.296282Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<10.2.0"],"fixed":["10.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}