Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-22817

33
FAUCET Score

CVE-2022-22817 is a critical vulnerability affecting Pillow versions prior to 9.0.0, specifically within the PIL.ImageMath.eval function, which allows for arbitrary expression evaluation, including Python's exec method or lambda expressions. This vulnerability carries a CVSS score of 9.8 (Critical), indicating it can be exploited remotely without authentication and has a high impact on confidentiality, integrity, and availability. Despite its severity, there is currently no evidence of active exploitation, publicly available exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 9.0.1CPE matchmatch criteria
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
11.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
3.40%
Probability of exploitation in next 30 days
EPSS Percentile
87.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0340 is in the 80th percentile among its peer group of 36,835 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (7)

pippatch availablevia ghsa
Product: PillowFixed in: 9.0.1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: python-pillow-0:2.0.0-23.gitd1c6db8.el7_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python-pillow-0:5.1.1-18.el8_5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsFixed in: python-pillow-0:5.1.1-13.el8_1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Extended Update SupportFixed in: python-pillow-0:5.1.1-14.el8_2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update SupportFixed in: python-pillow-0:5.1.1-14.el8_4
View patch
redhatno patchvia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-rhel8

Vendor Advisories (2)

pipGHSA-8vj2-vxx3-667wcritical

Arbitrary expression injection in Pillow

Jan 12, 2022
redhatCVE-2022-22817Important

python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions

Jan 2, 2022

References

lists.debian.org / debian-lts-announce/2022/01/msg00018.html
Mailing ListThird Party Advisory
lists.debian.org / debian-lts-announce/2024/03/msg00021.html
pillow.readthedocs.io / en/stable/releasenotes/9.0.0.html
Release NotesVendor Advisory
pillow.readthedocs.io / en/stable/releasenotes/9.0.1.html
Release NotesVendor Advisory
security.gentoo.org / glsa/202211-10
Third Party Advisory
debian.org / security/2022/dsa-5053
Third Party Advisory