__init__
Lib/zipfile.py
Last patched
Overview
__init__ in Lib/zipfile.py (python/cpython) was changed by 1 published CVE fix in 2024, in 3 distinct patches that added or removed 1 lines in total.
python/cpython has 132 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed __init__, newest first, with the lines each fix touched.
CVE-2024-0450 · line 383 · +1 −0
Medium · CVSS 6.2EPSS 0.3%2024-03-19
Get an alert when the next CVE fix lands in python/cpython, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1_RealGetContentsLib/zipfile.py6 patches · 2 CVEs2024 to 2025
- 2_EndRecDataLib/zipfile.py3 patches · 1 CVE2025
- 3_EndRecData64Lib/zipfile.py3 patches · 1 CVE2025
- 4_write_end_recordLib/zipfile.py3 patches · 1 CVE2025
- 5is_zipfileLib/zipfile.py3 patches · 1 CVE2025
- 6openLib/zipfile.py3 patches · 1 CVE2024
- 7_ancestryLib/zipfile.py3 patches · 1 CVE2024
- 8_extract_memberLib/zipfile.py2 patches · 1 CVE2026
Other hotspots in the repository
Functions in python/cpython changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to __init__.
- How many CVEs have patched __init__?
- 1 published CVEs changed __init__ in python/cpython, in 3 distinct patches totalling 1 changed lines, between 2024 and 2024.
- What is the latest CVE that changed __init__?
- CVE-2024-0450 (Quoted zip-bomb protection for zipfile), published 2024-03-19, changed lines 383 of Lib/zipfile.py.
- How does __init__ compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 1 of them changed __init__.
- 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
- Lib/zipfile.py on GitHub (opens in a new tab)
- All patched functions in python/cpython
- 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/cpython CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.