Critical (9.8). EPSS 3.6% chance of exploitation in the next 30 days. Fixed in pillow 9.0.0, 9.0.1.
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.
Severity
CVSS 3.1
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.6% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-31)