CVE-2023-50447: debian debian_linux Improper Control of Generation of Code
Vulnerability summary
CVE-2023-50447 is a high (CVSS 8.1) Improper Control of Generation of Code vulnerability in debian debian_linux. EPSS estimates a 1.70% chance of exploitation in the next 30 days, higher than 77.2% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 9Timeline
- 19-01-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
10 scores · 9 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.70%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.70% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-95Improper Neutralization of Directives in Dynamically Evaluated CodeThe product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat14 products
- python-pillow< 0:5.1.1-19.el8_6 | < 0:5.1.1-15.el8_2 | < 0:5.1.1-15.el8_4 | < 0:2.0.0-25.gitd1c6db8.el7_9 | < 0:5.1.1-18.el8_9.1 | < 0:5.1.1-19.el8_8
- python-pillow-debuginfo< 0:5.1.1-19.el8_6 | < 0:5.1.1-15.el8_2 | < 0:5.1.1-15.el8_4 | < 0:2.0.0-25.gitd1c6db8.el7_9 | < 0:5.1.1-18.el8_9.1 | < 0:5.1.1-19.el8_8
- python-pillow-debugsource< 0:5.1.1-19.el8_6 | < 0:5.1.1-15.el8_2 | < 0:5.1.1-15.el8_4 | < 0:5.1.1-18.el8_9.1 | < 0:5.1.1-19.el8_8
- python-pillow-devel< 0:2.0.0-25.gitd1c6db8.el7_9
- python-pillow-doc< 0:2.0.0-25.gitd1c6db8.el7_9
Chainguard8 products
- kubeflow-pipelines-visualization-server< 2.4.1-r2
- py3-pillow< 10.2.0-r0
- py3-seaborn< 0.13.2-r0
- py3-supported-seaborn< 0.13.2-r0
- py3.10-seaborn< 0.13.2-r0
Suse8 products
- python-Pillow&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 9.5.0-150400.5.9.1
- python-Pillow&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 9.5.0-150400.5.9.1
- python-Pillow&distro=SUSE Linux Enterprise Module for Python 3 15 SP5< 9.5.0-150400.5.9.1
- python-Pillow&distro=SUSE Linux Enterprise Server 15 SP4-LTSS< 9.5.0-150400.5.9.1
- python-Pillow&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP4< 9.5.0-150400.5.9.1
Wolfi8 products
- kubeflow-pipelines-visualization-server< 2.4.1-r2
- py3-pillow< 10.2.0-r0
- py3-seaborn< 0.13.2-r0
- py3-supported-seaborn< 0.13.2-r0
- py3.10-seaborn< 0.13.2-r0
Debian2 products
- pillow< 5.4.1-2+deb10u4 | < 9.4.0-1.1+deb12u1 | < 10.2.0-1
- debian_linuxEOL10.0
Opensuse2 products
- python-Pillow&distro=openSUSE Leap 15.5< 7.2.0-150300.3.6.1 | < 8.4.0-bp155.3.3.1 | < 9.5.0-150400.5.9.1
- python-Pillow&distro=openSUSE Tumbleweed< 10.2.0-1.1
Ubuntu2 products
- pillow< 2.3.0-1ubuntu3.4+esm5 | < 3.1.2-0ubuntu1.6+esm3 | < 5.1.0-1ubuntu0.8+esm2 | < 7.0.0-4ubuntu0.8 | < 9.0.1-1ubuntu0.2 | < 10.2.0-1
- pillow-python2All versions (No fix recorded)
Alpine1 product
- py3-pillow< 10.2.0-r0
Mageia1 product
- python-pillow< 9.2.0-3.1.mga9
PyPI1 product
- pillow< 10.2.0
Python1 product
- pillow≤ 10.1.0
11 vendors · 48 products
References
46 links- lists.debian.org/debian-lts-announce/2024/01/msg00019.htmlMailing ListWEBARTICLEThird Party Advisory
Show all 46 references
- lists.opensuse.org/archives/…Advisory
- pypi.org/project/pillowPACKAGE