{"id":"CVE-2023-50447","aliases":["CVE-2023-50447","GHSA-3f63-hfp8-52jq","BIT-PILLOW-2023-50447","PYSEC-2026-457"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution in Pillow","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Pillow hasta la versión 10.1.0 permite la ejecución de código arbitrario PIL.ImageMath.eval a través del parámetro de entorno, una vulnerabilidad diferente a CVE-2022-22817 (que se refería al parámetro de expresión).","source":"nvd"}],"published":"2024-01-19T00:00:00.000Z","modified":"2026-11-16T16:00:03.921Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94","CWE-95"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"10.1.0","status":"affected"}],"vendor":"python","product":"pillow","cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.2.0"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"10.1.0"}],"vendor":"python","product":"pillow","cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.2.0"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"10.1.1"}],"ecosystem":"Bitnami","package":"pillow","purl":"pkg:bitnami/pillow","source":"bitnami"}],"references":[{"url":"https://github.com/python-pillow/Pillow/releases","tags":["article","release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/20/1","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50447","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2023-50447","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://duartecsantos.github.io/2023-01-02-CVE-2023-50447","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://duartecsantos.github.io/2024-01-02-CVE-2023-50447","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-457.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pillow","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-3f63-hfp8-52jq","tags":["advisory"],"sources":["pysec"]},{"url":"https://duartecsantos.github.io/2023-01-02-CVE-2023-50447/","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-07-19T03:55:36.638Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-50447","url":"https://www.cve.org/CVERecord?id=CVE-2023-50447","licence":"CVE Terms of Use","modified":"2024-08-02T22:16:46.654Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3f63-hfp8-52jq","url":"https://github.com/advisories/GHSA-3f63-hfp8-52jq","licence":"CC-BY-4.0","modified":"2026-11-16T16:00:03.921Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-50447","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50447","licence":"Public domain","modified":"2026-06-17T06:39:39.007Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-457","url":"https://osv.dev/vulnerability/PYSEC-2026-457","licence":"CC-BY-4.0","modified":"2026-07-01T20:23:00.296Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PILLOW-2023-50447","url":"https://osv.dev/vulnerability/BIT-PILLOW-2023-50447","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.494Z"}],"updatedAt":"2026-11-25T22:58:32.204Z","epss":{"score":0.01703,"percentile":0.77933,"date":"2026-12-01T12:00:22.000Z"}}