ADVISORIES

Vulnerability

CVE-2022-22817

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.

28 advisories report this vulnerability, across 12 ecosystems.

Advisories in Amazon Linux

  • ALAS2-2022-1786

    Amazon Linux 2 2017.12 - ALAS2-2022-1786: important priority package update for python-pillow

    Important CVE-2022-22815CVE-2022-22816CVE-2022-22817 Amazon Linux Updated 23 September 2025
  • ALAS2023-2023-057

    Amazon Linux 2023 - ALAS2023-2023-057: Important priority package update for python-pillow

    Important CVE-2022-22816CVE-2022-22817 Amazon Linux Updated 22 February 2023

References