CVE-2023-50447Python Pillow
High 8.1 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Jan 19, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Pillow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pillow |
< 10.2.0 |
10.2.0 |
pip install "pillow>=10.2.0" |
| PyPI | pillow |
< 10.2.0 |
10.2.0 |
pip install "pillow>=10.2.0" |
Per OSV / GitHub Advisories (GHSA-3f63-hfp8-52jq, PYSEC-2026-457). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | ≤ 10.1.0 |
| debian | debian_linux | 10.0 |
Official advisories
- python313-Pillow-12.3.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11261-1 · Jul 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- devhub.checkmarx.com Third Party Advisory
- duartecsantos.github.io
- github.com Release Notes
- lists.debian.org Mailing List Third Party Advisory