{"vuln_id":"CVE-2022-22817","aliases":[],"description":"PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.","published_at":"2022-01-10T14:12:55.160000Z","modified_at":"2026-06-17T04:29:05.480000Z","first_seen_at":"2026-11-21T19:15:20.288768Z","severity":"critical","severity_source":"nvd","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.03584,"epss_percentile":0.89613,"nvd_status":"Modified","enriched_at":"2026-11-22T13:35:20.403942Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-22817"},"matched_alias":null,"items":[{"id":2536,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-3f63-hfp8-52jq / CVE-2023-50447: Arbitrary Code Execution in Pillow","summary":"Arbitrary Code Execution in Pillow\n\nPillow 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).\n\nAffected packages: pip:Pillow\nPatched: Pillow 10.2.0","url":"https://github.com/advisories/GHSA-3f63-hfp8-52jq","published_at":"2024-01-19T21:30:35Z","updated_at":"2026-11-16T15:52:32Z","fetched_at":"2026-11-21T19:15:18.416915Z","severity":"critical","cvss_score":9.8,"epss":0.03584,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"Pillow","vuln_id":"CVE-2023-50447","vuln_ids":["CVE-2022-22817","CVE-2023-50447","GHSA-3F63-HFP8-52JQ"],"tags":["ghsa","pip","CWE-94","CWE-95"],"cluster_id":2516,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2536","html":"https://vulnwatch.ve1ve2.com/item/2536"}}]}