VDB
CVE-2023-50447
CVE-2023-50447
PUBLISHED
CVSS 9.300000190734863 CRITICAL
Arbitrary Code Execution in Pillow
Reported by mitre · Published January 19, 2024
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).
Risk scores
CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| amazon:2 | python-pillow-devel | 0 |
| amazon:2023 | python3-pillow-tk | 0 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| python | pillow | 0 |
| PyPI | Pillow | 0 |
| chainguard | py3-seaborn | 0 |
| wolfi | py3-pillow | 0 |
| amazon:2023 | python3-pillow | 0 |
| wolfi | py3-seaborn | 0 |
| amazon:2 | python-pillow | 0 |
| amazon:2 | python-pillow-sane | 0 |
| chainguard | kubeflow-pipelines-visualization-server | 0 |
| chainguard | py3-pillow | 0 |
| amazon:2023 | python3-pillow-devel | 0 |
| amazon:2 | python-pillow-tk | 0 |
| alpine | py3-pillow | 0 |
| amazon:2 | python-pillow-doc | 0 |
Timeline
- Jan 19, 2024 CVE Published
- Jan 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (14 in total, the first dated here)
- Apr 28, 2025 PoC Published
- Mar 9, 2026 Security Advisory (37 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (29 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-50447
vulnetix vdb fixes CVE-2023-50447
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-50447/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20240120 Pillow 10.2.0 released, fixes CVE-2023-50447 mailing-list
- [debian-lts-announce] 20240129 [SECURITY] [DLA 3724-1] pillow security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2023-50447 advisory
- https://github.com/advisories/GHSA-3f63-hfp8-52jq advisory
- https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a patch
- https://devhub.checkmarx.com/cve-details/CVE-2023-50447 url
- https://duartecsantos.github.io/2023-01-02-CVE-2023-50447 url
- https://duartecsantos.github.io/2024-01-02-CVE-2023-50447 url
- https://github.com/python-pillow/Pillow url
- https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security url