{"schema_version":"1.9.0","id":"CVE-2023-50447","published":"2024-01-19T00:00:00Z","modified":"2026-08-12T03:51:46.748363083Z","aliases":["BIT-pillow-2023-50447","GHSA-3f63-hfp8-52jq","PYSEC-2026-457"],"related":["ALSA-2024:0893","CGA-p8qm-3j6v-j8xp","SUSE-SU-2024:0185-1","SUSE-SU-2024:0205-1","SUSE-SU-2024:0290-1","SUSE-SU-2024:0439-1","openSUSE-SU-2024:0125-1","openSUSE-SU-2024:13611-1","openSUSE-SU-2026:11261-1"],"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).","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"fixed":"da59ad000d1405eaecd557175e29083a87d19f7c"}],"database_specific":{"cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"10.1.0"},{"last_affected":"10.1.0"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"versions":["10.0.0","9.5.0","9.4.0","9.3.0","9.2.0","9.1.0","9.0.0","8.4.0","8.3.0","8.2.0","8.1.0","8.0.0","7.2.0","7.1.0","7.0.0","6.2.0","6.1.0","6.0.0","5.4.0","5.3.0","5.2.0","5.1.0","5.0.0","4.3.0","4.2.0","4.1.0","4.0.0","4.0.0a","3.4.0","3.3.0","3.2.0","3.1.0","3.1.0-rc1","2.9.0","2.9.0.dev2","2.9.0.dev1","2.9.0.dev0","2.8.1","2.8.0","2.7.0","2.5.0","2.3.0","2.2.1","2.2.0","2.1.0","2.0.0","1.7.8","1.7.7","1.2","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50447.json"}}],"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"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50447.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}