get_command
src/PIL/ImageShow.py
Last patched
Overview
get_command in src/PIL/ImageShow.py (python-pillow/Pillow) was changed by 2 published CVE fixes between 2022 and 2026, in 4 distinct patches that added or removed 23 lines in total.
python-pillow/Pillow has 110 CVEs with a located fix in total, so 2% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed get_command, newest first, with the lines each fix touched.
CVE-2026-55798 · lines 148–150 · +3 −0
Medium · CVSS 4.5EPSS 0.2%2026-07-06CVE-2022-24303 · lines 168–184 · +16 −4
High · CVSS 8.8EPSS 2.7%2022-03-28
Get an alert when the next CVE fix lands in python-pillow/Pillow, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
Other hotspots in the repository
Functions in python-pillow/Pillow changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to get_command.
- How many CVEs have patched get_command?
- 2 published CVEs changed get_command in python-pillow/Pillow, in 4 distinct patches totalling 23 changed lines, between 2022 and 2026.
- What is the latest CVE that changed get_command?
- CVE-2026-55798 (Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path), published 2026-07-06, changed lines 148 to 150 of src/PIL/ImageShow.py.
- How does get_command compare to the rest of python-pillow/Pillow?
- python-pillow/Pillow has 110 CVEs with a located fix in total; 2 of them changed get_command.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- src/PIL/ImageShow.py on GitHub (opens in a new tab)
- All patched functions in python-pillow/Pillow
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track python-pillow/Pillow CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.