{"id":"CVE-2023-50447","aliases":["BIT-pillow-2023-50447","GHSA-3f63-hfp8-52jq","PYSEC-2026-457"],"url":"https://o3.security/vulnerability/CVE-2023-50447","summary":"Arbitrary Code Execution in Pillow","details":"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).","published":"2024-01-19T00:00:00Z","modified":"2026-08-12T03:51:46.748363083Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"10.2.0"}],"fix":{"url":"https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a","label":"python-pillow/Pillow@45c726f"},"references":[{"type":"WEB","url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447/"},{"type":"WEB","url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50447.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50447"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow/releases"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2024/01/20/1"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a"},{"type":"WEB","url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447"},{"type":"WEB","url":"https://duartecsantos.github.io/2023-01-02-CVE-2023-50447"},{"type":"WEB","url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:46.748363083Z"}}