ADVISORIES

PyPA Advisory Database

PYSEC-2022-10

Details

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.

Affected packages

EcosystemPackageAffected versions
PyPIpillow
All versions before 9.0.0 (fixed in 9.0.0)

References