{"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":"2025-11-19T06:19:49.331888Z","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"}]}],"versions":["7.1.1-r0","7.1.2-r0","7.2.0-r0","8.1.0-r0","8.1.2-r0","8.1.2-r1","8.4.0-r0","8.4.0-r1","8.4.0-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22817.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}