extract
Lib/tarfile.py
Last patched
Overview
extract in Lib/tarfile.py (python/cpython) was changed by 6 published CVE fixes between 2025 and 2026, in 9 distinct patches that added or removed 228 lines in total.
python/cpython has 132 CVEs with a located fix in total, so 5% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed extract, newest first, with the lines each fix touched.
CVE-2026-4360 · lines 2537–2538 · +2 −1
Low · CVSS 2.0EPSS 0.5%2026-06-30CVE-2024-12718 · lines 2473–2522 · +30 −15
Medium · CVSS 5.3EPSS 0.8%2025-06-03CVE-2025-4435 · lines 2473–2522 · +30 −15
High · CVSS 7.5EPSS 0.6%2025-06-03CVE-2025-4138 · lines 2473–2522 · +30 −15
High · CVSS 8.1EPSS 1.5%2025-06-03CVE-2025-4330 · lines 2473–2522 · +30 −15
High · CVSS 8.1EPSS 1.0%2025-06-03CVE-2025-4517 · lines 2473–2522 · +30 −15
Critical · CVSS 9.4EPSS 1.5%2025-06-03
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.
- 1makelink_with_filterLib/tarfile.py25 patches · 9 CVEs2025 to 2026
- 2_proc_paxLib/tarfile.py20 patches · 3 CVEs2020 to 2026
- 3_get_filtered_attrsLib/tarfile.py14 patches · 8 CVEs2025 to 2026
- 4data_filterLib/tarfile.py8 patches · 1 CVE2024
- 5_proc_gnusparse_00Lib/tarfile.py8 patches · 1 CVE2024
- 6seekLib/tarfile.py7 patches · 1 CVE2026
- 7_blockLib/tarfile.py7 patches · 1 CVE2025
- 8_proc_gnulongLib/tarfile.py6 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 extract.
- How many CVEs have patched extract?
- 6 published CVEs changed extract in python/cpython, in 9 distinct patches totalling 228 changed lines, between 2025 and 2026.
- What is the latest CVE that changed extract?
- CVE-2026-4360 (Tarfile.extract() doesn't fully respect filter parameter), published 2026-06-30, changed lines 2537 to 2538 of Lib/tarfile.py.
- How does extract compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 6 of them changed extract.
- 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/tarfile.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.