get_server_certificate
Lib/ssl.py
Last patched
Overview
get_server_certificate in Lib/ssl.py (python/cpython) was changed by 1 published CVE fix in 2026, in 2 distinct patches that added or removed 4 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 get_server_certificate, newest first, with the lines each fix touched.
CVE-2026-19552 · lines 1641–1654 · +3 −1 in 2 hunks
CVSS 0.0EPSS 0.3%2026-11-09
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.
Other hotspots in the repository
Functions in python/cpython changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to get_server_certificate.
- How many CVEs have patched get_server_certificate?
- 1 published CVEs changed get_server_certificate in python/cpython, in 2 distinct patches totalling 4 changed lines, between 2026 and 2026.
- What is the latest CVE that changed get_server_certificate?
- CVE-2026-19552 (ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity), published 2026-11-09, changed lines 1641 to 1654 of Lib/ssl.py.
- How does get_server_certificate compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 1 of them changed get_server_certificate.
- 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/ssl.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.