python/cpython
Functions and files changed by CVE fixes in this repository.
Latest located fix
Overview
124 published CVEs have a fix traced to functions in python/cpython, the earliest published in 2010. Those fixes changed 288 distinct functions across 145 files, in 3,612 patch hunks.
Among the 11,752 repositories tracked here, python/cpython ranks #25 by the number of CVEs with a located fix.
Most patched functions
Functions in python/cpython changed by the most distinct patches.
- 1makelink_with_filterLib/tarfile.py25 patches · 9 CVEs2025 to 2026
- 2_proc_paxLib/tarfile.py20 patches · 3 CVEs2020 to 2026
- 3urlsplitLib/urllib/parse.py17 patches · 4 CVEs2019 to 2025
- 4_get_filtered_attrsLib/tarfile.py13 patches · 8 CVEs2025 to 2026
- 5_createLib/ssl.py12 patches · 2 CVEs2023 to 2026
- 6openLib/webbrowser.py12 patches · 2 CVEs2026
- 7_check_urlLib/webbrowser.py11 patches · 1 CVE2026
- 8socketpairLib/socket.py10 patches · 1 CVE2024
- 9extractLib/tarfile.py9 patches · 6 CVEs2025 to 2026
- 10data_filterLib/tarfile.py8 patches · 1 CVE2024
- 11_proc_gnusparse_00Lib/tarfile.py8 patches · 1 CVE2024
- 12_write_headersLib/email/generator.py7 patches · 2 CVEs2024 to 2026
- 13PyBytes_DecodeEscapeObjects/bytesobject.c7 patches · 2 CVEs2017 to 2025
- 14_checknetlocLib/urllib/parse.py7 patches · 2 CVEs2019
- 15_read1Lib/zipfile/__init__.py7 patches · 1 CVE2026
Most patched files
Files in python/cpython changed by the most CVE fixes.
- 1Lib/tarfile.py18 CVEs · 15 functions
- 2Modules/_ssl.c6 CVEs · 10 functions
- 3Lib/http/client.py6 CVEs · 8 functions
- 4Lib/urllib/request.py6 CVEs · 8 functions
- 5Lib/urllib/parse.py6 CVEs · 7 functions
- 6Lib/ntpath.py6 CVEs · 6 functions
- 7Lib/posixpath.py6 CVEs · 4 functions
- 8Include/patchlevel.h6 CVEs · 0 functions
- 9Lib/zipfile.py5 CVEs · 15 functions
- 10Modules/posixmodule.c5 CVEs · 3 functions
Fix size
How much code a CVE fix in python/cpython changes, with backports counted once.
Latest CVEs
The most recently published CVEs with a fix located in python/cpython, and the functions each fix changed.
- High · CVSS 8.22026-11-06
- Medium · CVSS 5.3EPSS 0.3%2026-10-29
- Low · CVSS 2.0EPSS 0.4%2026-10-27
- CVE-2026-115557Critical · CVSS 9.4EPSS 0.5%2026-10-24
- CVE-2026-114583_get_filtered_attrsMedium · CVSS 6.9EPSS 0.3%2026-10-22
- High · CVSS 7.6EPSS 0.5%2026-09-30
- Critical · CVSS 9.2EPSS 0.5%2026-09-30
- Medium · CVSS 5.9EPSS 0.3%2026-09-29
- CVE-2026-82049makelink_with_filterHigh · CVSS 8.4EPSS 0.2%2026-09-14
- CVE-2026-87910makelink_with_filterMedium · CVSS 5.7EPSS 0.6%2026-09-11
- Low · CVSS 2.1EPSS 0.5%2026-08-25
- CVE-2026-19672_get_filtered_attrsMedium · CVSS 6.3EPSS 0.5%2026-08-19
Get an alert for each new python/cpython CVE, with the patched functions and AI-written analysis.
Monitor these CVEsOther repositories
Repositories with a similar number of located CVE fixes.
Frequently asked questions
Common questions about CVE fixes in python/cpython.
- How many CVEs have a located fix in python/cpython?
- 124 published CVEs have a fix traced to functions in python/cpython, touching 288 functions across 145 files.
- Which function in python/cpython has been patched most often?
- makelink_with_filter in Lib/tarfile.py has been changed by 25 distinct patches, fixing 9 CVEs, from 2025 to 2026.
- How large is a typical CVE fix in python/cpython?
- The median fix changes 69 lines. 22% of fixes change 20 lines or fewer, and 31% change a single function.
- How is a fix located to a function?
- The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.
References
- python/cpython on GitHub (opens in a new tab)
- Patched functions directory
- CWE directory: the weakness types behind these fixes
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.