{"id":"ALPINE-CVE-2022-22817","details":"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.","modified":"2026-08-27T22:18:01.698129716Z","published":"2022-01-10T14:12:55.160Z","upstream":["CVE-2022-22817"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-22817"}],"affected":[{"package":{"name":"py3-pillow","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/py3-pillow?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.0-r3"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22817.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}