Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).
CVE-2023-50447
This high-severity CVE scores 8.1 under NVD CVSS v3. EPSS exploit probability: 1.7%, top 25% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.1(medium)
- EG Risk
- 37(Track)EG Risk 37/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation2% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 76%
- KEV
- Not listed
Published
January 19, 2024
Last Modified
November 21, 2024
Advisory Details (5)
Auto-updated Sep 16, 2026[SECURITY] [DLA 3724-1] pillow security update
https://lists.debian.org/debian-lts-announce/2024/01/msg00019.htmlArbitrary Code Execution in Pillow
https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') - CVE-2023-50447 - DevHub
https://devhub.checkmarx.com/cve-details/CVE-2023-50447/oss-security - Pillow 10.2.0 released, fixes CVE-2023-50447
http://www.openwall.com/lists/oss-security/2024/01/20/1Vendor Advisories for CVE-2023-50447(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-pil.imagetk (10.0.0-1ubuntu0.1) @ mantic | 2026-05-24 | ubuntu |
| ubuntu | python3-pil.imagetk (3.1.2-0ubuntu1.6+esm3) @ xenial | 2026-05-24 | ubuntu |
| redhat | python-pillow-0:10.3.0-1.el9ap | 2024-06-10 | redhat |
| redhat | python-pillow-0:5.1.1-19.el8_6 | 2024-02-29 | redhat |
| redhat | python-pillow-0:5.1.1-15.el8_4 | 2024-02-29 | redhat |
| redhat | python-pillow-0:5.1.1-15.el8_2 | 2024-02-29 | redhat |
| redhat | python-pillow-0:5.1.1-18.el8_9.1 | 2024-02-20 | redhat |
| redhat | python-pillow-0:2.0.0-25.gitd1c6db8.el7_9 | 2024-02-19 | redhat |
| redhat | python-pillow-0:5.1.1-19.el8_8 | 2024-02-08 | redhat |
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
(6 across 6 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 5.4.1-2, 5.4.1-2+deb10u1, 5.4.1-2+deb10u2, 5.4.1-2+deb10u3 | 5.4.1-2+deb10u4 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 8.1.2+dfsg-0.3, 8.1.2+dfsg-0.3+deb11u1 | 8.1.2+dfsg-0.3+deb11u2 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 9.4.0-1.1 | 9.4.0-1.1+deb12u1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | — | 10.2.0-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | — | 10.2.0-1 | — |
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 1.0 ... 9.5.0 (95 versions) | 10.2.0 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2024:0754IMPORTANT2024-01-19
RHSA-2024:0754 — Important
- Red HatRHSA-2024:0857IMPORTANT2024-01-19
RHSA-2024:0857 — Important
- Red HatRHSA-2024:0893IMPORTANT2024-01-19
RHSA-2024:0893 — Important
- Red HatRHSA-2024:1058IMPORTANT2024-01-19
RHSA-2024:1058 — Important
- Red HatRHSA-2024:1059IMPORTANT2024-01-19
RHSA-2024:1059 — Important
- Red HatRHSA-2024:1060IMPORTANT2024-01-19
RHSA-2024:1060 — Important
- UbuntuUSN-6618-1MEDIUM
Pillow vulnerabilities
- UbuntuUSN-8135-1MEDIUM
Pillow vulnerabilities
Data Freshness Timeline
(refreshed 7× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 172 total refreshes for this CVE.
- 2026-09-18 19:26 UTCEPSS rescore
- 2026-09-17 19:25 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 05:11 UTCEPSS rescore
- 2026-09-15 03:08 UTCEPSS rescore
- 2026-09-13 16:44 UTCEPSS rescore
- 2026-09-12 14:58 UTCEPSS rescore
- 2026-09-11 14:50 UTCEPSS rescore
- 2026-09-11 09:34 UTCEPSS rescore
- 2026-09-08 21:58 UTCEPSS rescore
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:26 UTCEPSS rescore
- 2026-09-04 13:58 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-03 07:29 UTCOSV refresh
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-09-01 04:35 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:20 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:23 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:14 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 20:56 UTCOSV refresh
- 2026-08-16 14:54 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 13:40 UTCEPSS rescore
- 2026-08-10 23:57 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-07 16:25 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 15:06 UTCOSV refresh
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-27 14:10 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:28 UTCEG score recompute
- 2026-07-22 23:15 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-14 22:10 UTCOSV refresh
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
Frequently asked(5)
What is CVE-2023-50447?
When was CVE-2023-50447 disclosed?
Is CVE-2023-50447 actively exploited?
What is the CVSS score of CVE-2023-50447?
How do I remediate CVE-2023-50447?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-50447
Is Your Infrastructure Affected by CVE-2023-50447?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.