{"id":"CVE-2023-50447","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).","aliases":["BIT-pillow-2023-50447","GHSA-3f63-hfp8-52jq"],"modified":"2026-04-16T04:33:12.882595034Z","published":"2024-01-19T20:15:11.870Z","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"],"references":[{"type":"WEB","url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2024/01/20/1"},{"type":"ADVISORY","url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447/"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/releases"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"last_affected":"da59ad000d1405eaecd557175e29083a87d19f7c"},{"introduced":"0"},{"last_affected":"6e28ed1f36d0eb74053af54e1eddc9c29db698cd"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"10.1.0"},{"introduced":"0"},{"last_affected":"10.0"}]}}],"versions":["1.0","1.2","1.7.7","1.7.8","10.0.0","10.1.0","2.0.0","2.1.0","2.2.0","2.2.1","2.3.0","2.5.0","2.7.0","2.8.0","2.8.1","2.9.0","2.9.0.dev0","2.9.0.dev1","2.9.0.dev2","3.1.0","3.1.0-rc1","3.2.0","3.3.0","3.4.0","4.0.0","4.0.0a","4.1.0","4.2.0","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","6.0.0","6.1.0","6.2.0","7.0.0","7.1.0","7.2.0","8.0.0","8.1.0","8.2.0","8.3.0","8.4.0","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50447.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}