Skip to main content
← All vulnerabilities
CVE-2022-22817PYSEC-2022-10BIT-PILLOW-2022-22817GHSA-8VJ2-VXX3-667W

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.0.0, 9.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • pillowPyPI

    fixed in 9.0.0

  • pillowPyPI

    fixed in 9.0.1

References 6

pillow.readthedocs.io

lists.debian.org

debian.org

security.gentoo.org