CVE-2022-22817

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-01-12. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3

Also known asEUVD-2022-0195 (ENISA EUVD) · GHSA-8vj2-vxx3-667w (GitHub Security Advisories) · PYSEC-2022-10 (OSV.dev)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 3.6%CVSS: 9.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
61
EG Risk 61/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation3.6% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
3.6%
EPSS %ILE
89th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
3.6% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-12). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

January 10, 2022

Last Modified

November 21, 2024

Advisory Details (6)

Auto-updated Oct 11, 2026
Patch available.
Web page

9.0.1 (2022-02-03) - Pillow (PIL Fork) 12.3.0 documentation

https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
Web pageMentions a patch (unverified)

[SECURITY] [DLA 3768-1] pillow security update

https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
Web pageMentions a patch (unverified)

[SECURITY] [DLA 2893-1] pillow security update

https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
Web page

[SECURITY] [DSA 5053-1] pillow security update

https://www.debian.org/security/2022/dsa-5053
Web page

Pillow: Multiple Vulnerabilities (GLSA 202211-10) — Gentoo security

https://security.gentoo.org/glsa/202211-10

Patch Availability(9)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntupython3-pil (8.1.2+dfsg-0.3ubuntu0.1) @ impish2026-11-11ubuntu
ubuntupython3-pil (7.0.0-4ubuntu0.6) @ focal2026-11-11ubuntu
ubuntupython3-sane (2.3.0-1ubuntu3.4+esm3) @ trusty2026-11-11ubuntu
redhatpython-pillow-0:5.1.1-14.el8_42022-02-24redhat
redhatpython-pillow-0:5.1.1-13.el8_12022-02-24redhat
redhatpython-pillow-0:5.1.1-14.el8_22022-02-24redhat
redhatpython-pillow-0:5.1.1-18.el8_52022-02-22redhat
redhatpython-pillow-0:2.0.0-23.gitd1c6db8.el7_92022-02-22redhat
pipPillow @ 9.0.1 (fixes < 9.0.1)—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(17 across 17 ecosystems)
Alpine:v3.15(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.4.0-r3: fixed in 8.4.0-r3
—
Alpine:v3.16(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.17(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.18(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 9.0.1-r0: fixed in 9.0.1-r0
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
pillow5.4.1-2, 5.4.1-2+deb10u1, 5.4.1-2+deb10u2
  • every version up to 5.4.1-2+deb10u5: fixed in 5.4.1-2+deb10u5
  • every version up to 5.4.1-2+deb10u3: fixed in 5.4.1-2+deb10u3
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
pillow8.1.2+dfsg-0.3
  • every version up to 8.1.2+dfsg-0.3+deb11u1: fixed in 8.1.2+dfsg-0.3+deb11u1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 9.0.0-1: fixed in 9.0.0-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 9.0.0-1: fixed in 9.0.0-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 9.0.0-1: fixed in 9.0.0-1
—
Debian:9(1)
PackageVulnerable rangeFix by version rangeDependents
pillow4.0.0-4, 4.0.0-4+deb9u1, 4.0.0-4+deb9u2, 4.0.0-4+deb9u3
  • every version up to 4.0.0-4+deb9u4: fixed in 4.0.0-4+deb9u4
—
PyPI(1)
PackageVulnerable rangeFix by version rangeDependents
pillow1.0 ... 8.4.0 (84 versions)
  • every version up to 9.0.1: fixed in 9.0.1
  • every version up to 9.0.0: fixed in 9.0.0
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(6)

Data Freshness Timeline

(refreshed 20× in last 7d / 74× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 279 rows on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 179 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-13 16:41 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  2. 2026-11-12 22:40 UTCEchelonGraph re-scored
  3. 2026-11-12 22:40 UTCVendor advisory
  4. 2026-11-12 22:40 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  5. 2026-11-12 16:29 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  6. 2026-11-11 23:40 UTCEchelonGraph re-scored
  7. 2026-11-11 23:40 UTCVendor advisory
  8. 2026-11-11 23:39 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-11 16:32 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  10. 2026-11-11 00:47 UTCEchelonGraph re-scored
  11. 2026-11-11 00:47 UTCVendor advisory
  12. 2026-11-11 00:47 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  13. 2026-11-10 16:35 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  14. 2026-11-10 02:05 UTCEchelonGraph re-scored
  15. 2026-11-10 02:05 UTCVendor advisory
  16. 2026-11-10 02:05 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  17. 2026-11-09 16:29 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  18. 2026-11-09 03:23 UTCEchelonGraph re-scored
  19. 2026-11-09 03:23 UTCVendor advisory
  20. 2026-11-09 03:23 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  21. 2026-11-08 16:33 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  22. 2026-11-08 04:42 UTCEchelonGraph re-scored
  23. 2026-11-08 04:42 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-11-07 16:34 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  25. 2026-11-07 06:00 UTCEchelonGraph re-scored
Show 75 more
  1. 2026-11-07 06:00 UTCVendor advisory
  2. 2026-11-07 06:00 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  3. 2026-11-06 16:30 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  4. 2026-11-06 07:18 UTCEchelonGraph re-scored
  5. 2026-11-06 07:18 UTCVendor advisory
  6. 2026-11-06 07:18 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  7. 2026-11-05 16:31 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  8. 2026-11-05 08:37 UTCEchelonGraph re-scored
  9. 2026-11-05 08:37 UTCVendor advisory
  10. 2026-11-05 08:37 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  11. 2026-11-04 16:30 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  12. 2026-11-04 09:56 UTCEchelonGraph re-scored
  13. 2026-11-04 09:56 UTCVendor advisory
  14. 2026-11-04 09:56 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  15. 2026-11-03 23:55 UTCOSV refresh
  16. 2026-11-03 16:39 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  17. 2026-11-03 11:14 UTCEchelonGraph re-scored
  18. 2026-11-03 11:14 UTCVendor advisory
  19. 2026-11-03 11:14 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  20. 2026-11-02 16:38 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  21. 2026-11-02 12:33 UTCEchelonGraph re-scored
  22. 2026-11-02 12:33 UTCVendor advisory
  23. 2026-11-02 12:33 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-11-01 13:51 UTCVendor advisory
  25. 2026-11-01 13:51 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  26. 2026-11-01 08:28 UTCGHSA enrichmentGHSA-8vj2-vxx3-667w · GitHub severity CRITICAL · GitHub CVSS 9.8
  27. 2026-11-01 08:28 UTCEchelonGraph re-scored
  28. 2026-10-31 16:29 UTCEPSS rescoreEPSS 3.6% · 89th percentile
  29. 2026-10-31 15:10 UTCEchelonGraph re-scored
  30. 2026-10-31 15:10 UTCVendor advisory
  31. 2026-10-30 16:30 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  32. 2026-10-30 16:29 UTCVendor advisory
  33. 2026-10-29 17:48 UTCEchelonGraph re-scored
  34. 2026-10-29 17:48 UTCVendor advisory
  35. 2026-10-29 16:29 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  36. 2026-10-28 19:07 UTCEchelonGraph re-scored
  37. 2026-10-28 19:07 UTCVendor advisory
  38. 2026-10-28 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  39. 2026-10-27 20:00 UTCEchelonGraph re-scored
  40. 2026-10-27 20:00 UTCVendor advisory
  41. 2026-10-27 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  42. 2026-10-26 21:19 UTCEchelonGraph re-scored
  43. 2026-10-26 21:19 UTCVendor advisory
  44. 2026-10-26 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  45. 2026-10-25 20:30 UTCVendor advisory
  46. 2026-10-25 18:14 UTCEchelonGraph re-scored
  47. 2026-10-25 16:29 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  48. 2026-10-24 21:49 UTCEchelonGraph re-scored
  49. 2026-10-24 21:49 UTCVendor advisory
  50. 2026-10-24 16:29 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  51. 2026-10-23 23:08 UTCEchelonGraph re-scored
  52. 2026-10-23 23:08 UTCVendor advisory
  53. 2026-10-23 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  54. 2026-10-23 00:18 UTCEchelonGraph re-scored
  55. 2026-10-23 00:18 UTCVendor advisory
  56. 2026-10-22 16:30 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  57. 2026-10-22 01:19 UTCEchelonGraph re-scored
  58. 2026-10-22 01:19 UTCVendor advisory
  59. 2026-10-21 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  60. 2026-10-21 02:37 UTCEchelonGraph re-scored
  61. 2026-10-21 02:37 UTCVendor advisory
  62. 2026-10-20 16:29 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  63. 2026-10-20 03:52 UTCEchelonGraph re-scored
  64. 2026-10-20 03:52 UTCVendor advisory
  65. 2026-10-19 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  66. 2026-10-19 04:45 UTCEchelonGraph re-scored
  67. 2026-10-19 04:45 UTCVendor advisory
  68. 2026-10-18 16:28 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  69. 2026-10-18 06:02 UTCEchelonGraph re-scored
  70. 2026-10-18 06:02 UTCVendor advisory
  71. 2026-10-17 16:29 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  72. 2026-10-17 07:17 UTCEchelonGraph re-scored
  73. 2026-10-17 07:17 UTCVendor advisory
  74. 2026-10-16 16:34 UTCEPSS rescoreEPSS 3.3% · 88th percentile
  75. 2026-10-16 08:34 UTCEchelonGraph re-scored

Frequently asked(5)

What is CVE-2022-22817?
CVE-2022-22817 is a critical-severity vulnerability; its CVE record was published on January 10, 2022. 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.
When was the CVE record for CVE-2022-22817 published?
The CVE record for CVE-2022-22817 was published on January 10, 2022. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of November 21, 2024; the record at its source may have been updated since.
Is CVE-2022-22817 actively exploited?
CVE-2022-22817 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 3.6% probability of exploitation in the next 30 days (89th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2022-22817?
CVE-2022-22817 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2022-22817?
A fix for CVE-2022-22817 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2022-22817 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-22817

Explore →

Is Your Infrastructure Affected by CVE-2022-22817?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.