{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-50447","id":"CVE-2023-50447","title":"Arbitrary Code Execution in Pillow","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).","descriptionLong":"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:00.000Z","updated":"2026-10-28T02:31:06.662908076Z","reserved":"2023-12-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<10.2.0"],"fixed":["10.2.0"],"advisory":"GHSA-3f63-hfp8-52jq"}],"cwes":["CWE-95","CWE-94"],"aliases":["BIT-pillow-2023-50447","GHSA-3f63-hfp8-52jq","PYSEC-2026-457"],"references":[{"url":"https://github.com/python-pillow/Pillow/releases","tags":["x_transferred","Release Notes","package","web"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447/","tags":["x_transferred","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/20/1","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50447.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50447","tags":["advisory"]},{"url":"https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a","tags":["web"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447","tags":["web"]},{"url":"https://duartecsantos.github.io/2023-01-02-CVE-2023-50447","tags":["web"]},{"url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-457.yaml","tags":["web"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security","tags":["web"]},{"url":"https://pypi.org/project/pillow","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-3f63-hfp8-52jq","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01703,"epssPercentile":0.77745,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-50447","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50447","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-50447","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3f63-hfp8-52jq","ok":true,"note":"GHSA-3f63-hfp8-52jq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-50447","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}