RCE in Python Pillow

CVE-2023-50447

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).

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.017 (76.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-50447: held from 0.017 to 0.017.

EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-50447?
CVE-2023-50447 is a high-severity vulnerability in Python Pillow, classified under Code Injection. CVSS score: 8.1/10. Published 2024-01-19.
How severe is CVE-2023-50447?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2023-50447 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.