CVE-2023-50447
published high CVSS 3.1 · 8.1pillow: Arbitrary Code Execution via the environment parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| python | — | pillow0 through 10.1.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2444 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-512 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | pillow | Advisory build | 9.4.0-1.1+deb12u1 | DSA-5704-1 |
| Ubuntu | bionic | pillow | Advisory build | 5.1.0-1ubuntu0.8+esm2 | USN-8135-1 |
| AlmaLinux | 8 | python3-pillow | Advisory build | 5.1.1-18.el8_9.1.alma.1 | ALSA-2024:0893 |
| Alpine Linux | edge | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | python-pillowaarch64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillowi686 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Debian | bullseye | pillow | Advisory build | 8.1.2+dfsg-0.3+deb11u2 | DSA-5704-1 |
| Debian | buster | pillow | Advisory build | 5.4.1-2+deb10u4 | DLA-3724-1 |
| Ubuntu | focal | pillow | Advisory build | 7.0.0-4ubuntu0.8 | USN-6618-1 |
| Ubuntu | jammy | pillow | Advisory build | 9.0.1-1ubuntu0.2 | USN-6618-1 |
| Ubuntu | trusty | pillow | Advisory build | 2.3.0-1ubuntu3.4+esm5 | USN-8135-1 |
| Ubuntu | xenial | pillow | Advisory build | 3.1.2-0ubuntu1.6+esm3 | USN-8135-1 |
| AlmaLinux | 8 | python3-pillow-devel | Advisory build | 5.1.1-18.el8_9.1.alma.1 | ALSA-2024:0893 |
| AlmaLinux | 8 | python3-pillow-doc | Advisory build | 5.1.1-18.el8_9.1.alma.1 | ALSA-2024:0893 |
| AlmaLinux | 8 | python3-pillow-tk | Advisory build | 5.1.1-18.el8_9.1.alma.1 | ALSA-2024:0893 |
| Alpine Linux | v3.19 | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-pillow | Fixed | 10.2.0-r0 | Package fix record |
| Oracle Linux | 7 | python-pillowx86_64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-develaarch64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-develx86_64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-docaarch64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-docx86_64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-qtaarch64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-qtx86_64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-saneaarch64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-sanex86_64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-tkaarch64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 7 | python-pillow-tkx86_64 | Advisory build | 0:2.0.0-25.gitd1c6db8.el7_9 | ELSA-2024-0857 |
| Oracle Linux | 8 | python3-pillowaarch64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillowx86_64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillow-develaarch64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillow-develx86_64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillow-docaarch64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillow-docx86_64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillow-tkaarch64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Oracle Linux | 8 | python3-pillow-tkx86_64 | Advisory build | 0:5.1.1-18.el8_9.1 | ELSA-2024-0893 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillowppc | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillowppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillowppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillows390 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillows390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillowsrc | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillowx86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfoi686 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfoppc | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfoppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfoppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfos390 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfos390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-debuginfox86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-develi686 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-develppc | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-develppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-develppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-devels390 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-devels390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-develx86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-docppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-docppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-docs390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-docx86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-qtppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-qtppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-qts390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-qtx86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-saneppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-saneppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-sanes390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-sanex86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-tkppc64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-tkppc64le | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-tks390x | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-7 | python-pillow-tkx86_64 | Advisory build | 2.0.0-25.gitd1c6db8.el7_9 | RHSA-2024:0857 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-15.el8_2 | RHSA-2024:1059 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-15.el8_4 | RHSA-2024:1060 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-18.el8_9.1 | RHSA-2024:0893 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-19.el8_6 | RHSA-2024:1058 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-19.el8_8 | RHSA-2024:0754 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoaarch64 | Advisory build | 5.1.1-18.el8_9.1 | RHSA-2024:0893 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoaarch64 | Advisory build | 5.1.1-19.el8_6 | RHSA-2024:1058 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoaarch64 | Advisory build | 5.1.1-19.el8_8 | RHSA-2024:0754 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-15.el8_4 | RHSA-2024:1060 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-18.el8_9.1 | RHSA-2024:0893 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-19.el8_6 | RHSA-2024:1058 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-19.el8_8 | RHSA-2024:0754 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfos390x | Advisory build | 5.1.1-18.el8_9.1 | RHSA-2024:0893 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfos390x | Advisory build | 5.1.1-19.el8_6 | RHSA-2024:1058 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfos390x | Advisory build | 5.1.1-19.el8_8 | RHSA-2024:0754 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-15.el8_2 | RHSA-2024:1059 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4 | RHSA-2024:1060 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-18.el8_9.1 | RHSA-2024:0893 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-19.el8_6 | RHSA-2024:1058 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-19.el8_8 | RHSA-2024:0754 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceaarch64 | Advisory build | 5.1.1-18.el8_9.1 | RHSA-2024:0893 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceaarch64 | Advisory build | 5.1.1-19.el8_6 | RHSA-2024:1058 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceaarch64 | Advisory build | 5.1.1-19.el8_8 | RHSA-2024:0754 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| python | pillow | 0 through 10.1.0 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
5- [oss-security] 20240120 Pillow 10.2.0 released, fixes CVE-2023-50447 http://www.openwall.com/lists/oss-security/2024/01/20/1
- https://devhub.checkmarx.com/cve-details/CVE-2023-50447/
- https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/
- https://github.com/python-pillow/Pillow/releases
- [debian-lts-announce] 20240129 [SECURITY] [DLA 3724-1] pillow security update https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 99302b14f9fc825c59d2ed19b4d544b48992ced28edf6d05b6dcb1cfb6733375
- Ingested
- 23 Sep 2026, 08:13:59 UTC
- Source record
- Official CVE record