CVE & CISA-KEV Catalog

CVE-2023-50447

HIGHEPSS 76th pctl
8.1
CVSS v3
NVD

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).

How to fix

Remediation Available
python-pillowAmazon
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
python-pillow-debuginfoAmazon
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
python-pillow-debugsourceAmazon
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
python-pillow-develAmazon
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
python-pillow-docAmazon
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
python-pillow-saneAmazon
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
python-pillow-tkAmazon
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
Fixed in:0:2.0.0-23.gitd1c6db8.amzn2.0.10
python3-pillowAmazon
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
python3-pillow-debuginfoAmazon
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
python3-pillow-develAmazon
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
python3-pillow-tkAmazon
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
python3-pillow-tk-debuginfoAmazon
Fixed in:0:9.4.0-2.amzn2023.0.4
Fixed in:0:9.4.0-2.amzn2023.0.4
pillowDebian
Fixed in:9.4.0-1.1+deb12u1CVE-2023-50447
Fixed in:10.2.0-1CVE-2023-50447
Fixed in:10.2.0-1CVE-2023-50447
ansible-automation-platform-installerRed Hat / RHEL
Fixed in:0:2.4-7.1.el8apRHSA-2024:3781
Fixed in:0:2.4-7.1.el8apRHSA-2024:3781
Fixed in:0:2.4-7.1.el9apRHSA-2024:3781
Fixed in:0:2.4-7.1.el9apRHSA-2024:3781
ansible-automation-platform-installerRocky
Fixed in:0:2.4-7.1.el8apRHSA-2024:3781
Fixed in:0:2.4-7.1.el8apRHSA-2024:3781
Fixed in:0:2.4-7.1.el9apRHSA-2024:3781
Fixed in:0:2.4-7.1.el9apRHSA-2024:3781
ansible-coreRocky
Fixed in:1:2.15.11-1.el8apRHSA-2024:3781
Fixed in:1:2.15.11-1.el8apRHSA-2024:3781
Fixed in:1:2.15.11-1.el9apRHSA-2024:3781
Fixed in:1:2.15.11-1.el9apRHSA-2024:3781
ansible-coreRed Hat / RHEL
Fixed in:1:2.15.11-1.el8apRHSA-2024:3781
Fixed in:1:2.15.11-1.el8apRHSA-2024:3781
Fixed in:1:2.15.11-1.el9apRHSA-2024:3781
Fixed in:1:2.15.11-1.el9apRHSA-2024:3781
ansible-rulebookRed Hat / RHEL
Fixed in:0:1.0.7-1.el8apRHSA-2024:3781
Fixed in:0:1.0.7-1.el8apRHSA-2024:3781
Fixed in:0:1.0.7-1.el9apRHSA-2024:3781
Fixed in:0:1.0.7-1.el9apRHSA-2024:3781
ansible-rulebookRocky
Fixed in:0:1.0.7-1.el8apRHSA-2024:3781
Fixed in:0:1.0.7-1.el8apRHSA-2024:3781
Fixed in:0:1.0.7-1.el9apRHSA-2024:3781
Fixed in:0:1.0.7-1.el9apRHSA-2024:3781
ansible-testRed Hat / RHEL
Fixed in:1:2.15.11-1.el8apRHSA-2024:3781
Fixed in:1:2.15.11-1.el9apRHSA-2024:3781
ansible-testRocky
Fixed in:1:2.15.11-1.el8apRHSA-2024:3781
Fixed in:1:2.15.11-1.el9apRHSA-2024:3781
automation-controllerRed Hat / RHEL
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controllerRocky
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-cliRed Hat / RHEL
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-cliRocky
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-serverRocky
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-serverRed Hat / RHEL
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-uiRed Hat / RHEL
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-uiRocky
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
automation-controller-venv-towerRocky
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el8apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781
Fixed in:0:4.5.7-1.el9apRHSA-2024:3781

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.70%probability of exploitation in 30 days
76thpercentile

Elevated risk: more likely to be exploited than 76% of all known CVEs.

References

Related Vulnerabilities

Other CWE-94 (Code Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-9841Critical9.8100%KEVFix
CVE-2015-1635Critical9.8100%KEV-
CVE-2022-22954Critical9.8100%KEV + Ransom-
CVE-2025-49704High8.8100%KEV + RansomFix
CVE-2025-3248Critical9.8100%KEV + RansomFix
CVE-2021-22204Medium6.8100%KEVFix

Common questions

How do I fix CVE-2023-50447?

Published advisories record a fix for 210 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-50447 being actively exploited?

Not that we know of. CVE-2023-50447 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.7% is the estimated probability that it will be exploited in the next 30 days. That is higher than 76% of all scored CVEs.

How severe is CVE-2023-50447?

CVE-2023-50447 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-50447 affect?

Published advisories record a fix for python-pillow (Amazon), python-pillow-debuginfo (Amazon), python-pillow-debugsource (Amazon), python-pillow-devel (Amazon), and 206 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-50447
CVE-2023-50447 severity badge

Markdown

[![CVE-2023-50447](https://tridentstack.com/cve/badge/CVE-2023-50447.svg)](https://tridentstack.com/cve/CVE-2023-50447)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-50447"><img src="https://tridentstack.com/cve/badge/CVE-2023-50447.svg" alt="CVE-2023-50447"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.