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
-
ALAS2-2022-1786
Amazon Linux 2 2017.12 - ALAS2-2022-1786: important priority package update for python-pillow
-
ALAS2023-2023-057
Amazon Linux 2023 - ALAS2023-2023-057: Important priority package update for python-pillow
-
ALPINE-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.
- ALPINE-EDGE-CVE-2022-22817
-
ALSA-2022:0643
Important: python-pillow security update
-
DEBIAN-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.
-
DLA-2893-1
pillow - security update
-
DLA-3768-1
pillow - security update
-
DSA-5053-1
pillow - security update
-
ELSA-2022-0609
ELSA-2022-0609: python-pillow security update (IMPORTANT)
-
ELSA-2022-0643
ELSA-2022-0643: python-pillow security update (IMPORTANT)
-
GHSA-8vj2-vxx3-667w
Arbitrary expression injection in Pillow
-
OESA-2022-1526
python-pillow security update
-
PYSEC-2022-10
PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.
-
RHSA-2022:0609
Red Hat Security Advisory: python-pillow security update
-
RHSA-2022:0643
Red Hat Security Advisory: python-pillow security update
-
RHSA-2022:0665
Red Hat Security Advisory: python-pillow security update
-
RHSA-2022:0667
Red Hat Security Advisory: python-pillow security update
-
RHSA-2022:0669
Red Hat Security Advisory: python-pillow security update
-
RLSA-2022:0643
Important: python-pillow security update
-
SUSE-SU-2022:1729-1
Security update for ardana-barbican, grafana, openstack-barbican, openstack-cinder, openstack-heat-gbp, openstack-horizon-plugin-gbp-ui, openstack-ironic, openstack-keystone, openstack-neutron-gbp, python-lxml,…
-
SUSE-SU-2024:0290-1
Security update for python-Pillow
-
UBUNTU-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.
-
USN-5227-1
pillow vulnerabilities
-
USN-5227-2
pillow vulnerabilities
-
USN-5227-3
pillow vulnerability
-
openSUSE-SU-2024:11814-1
python310-Pillow-9.0.1-1.1 on GA media
-
openSUSE-SU-2025:14645-1
python311-Pillow-11.1.0-1.1 on GA media
References
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- https://security.gentoo.org/glsa/202211-10
- https://www.debian.org/security/2022/dsa-5053