_setup
src/PIL/TiffImagePlugin.py
Last patched
Overview
_setup in src/PIL/TiffImagePlugin.py (python-pillow/pillow) was changed by 1 published CVE fix in 2022, in 2 distinct patches that added or removed 16 lines in total.
python-pillow/pillow has 110 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed _setup, newest first, with the lines each fix touched.
CVE-2022-45199 · lines 1401–1408 · +16 −0 in 2 hunks
High · CVSS 8.7EPSS 1.5%2022-11-14
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.
- 1_savesrc/PIL/TiffImagePlugin.py3 patches · 2 CVEs2026
- 2__init__src/PIL/TiffImagePlugin.py2 patches · 2 CVEs2026
- 3_opensrc/PIL/TiffImagePlugin.py2 patches · 2 CVEs2026
- 4_seeksrc/PIL/TiffImagePlugin.py2 patches · 2 CVEs2026
- 5loadsrc/PIL/TiffImagePlugin.py2 patches · 1 CVE2026
- 6_validate_tagssrc/PIL/TiffImagePlugin.py1 patch · 1 CVE2026
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 _setup.
- How many CVEs have patched _setup?
- 1 published CVEs changed _setup in python-pillow/pillow, in 2 distinct patches totalling 16 changed lines, between 2022 and 2022.
- What is the latest CVE that changed _setup?
- CVE-2022-45199 (Pillow subject to DoS via SAMPLESPERPIXEL tag), published 2022-11-14, changed lines 1401 to 1408 of src/PIL/TiffImagePlugin.py.
- How does _setup compare to the rest of python-pillow/pillow?
- python-pillow/pillow has 110 CVEs with a located fix in total; 1 of them changed _setup.
- 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/TiffImagePlugin.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.