Feed
8.1HIGH
CVE-2023-50447Arbitrary Code Execution in Pillow
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.7%
- percentile 78%
- Fix
- Named by a source
- CVE published 19 Jan 2024
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.7% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 10.2.0 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 10.2.0Fixed in10.2.0OSV (PYSEC-2026-457)
Confirmed facts
- CVSS
- 8.1 HIGH (version 3.1)
- Score from
- PYSEC-2026-457
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-94, CWE-95
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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).
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-50447
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a
- otherhttps://devhub.checkmarx.com/cve-details/CVE-2023-50447
- otherhttps://duartecsantos.github.io/2023-01-02-CVE-2023-50447
- otherhttps://duartecsantos.github.io/2024-01-02-CVE-2023-50447
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-457.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://github.com/python-pillow/Pillow/releases
- otherhttps://lists.debian.org/debian-lts-announce/2024/01/msg00019.html
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security
- otherhttps://pypi.org/project/pillow
- otherhttp://www.openwall.com/lists/oss-security/2024/01/20/1
- advisoryhttps://github.com/advisories/GHSA-3f63-hfp8-52jq
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-3f63-hfp8-52jq (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-457 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 39 min ago · osv 38 min ago · nvd 38 min ago · epss 38 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2023-50447, GHSA-3f63-hfp8-52jq, PYSEC-2026-457