CVE-2026-19445
Published:September 30, 2026
Updated:October 11, 2026
A remote, unauthenticated TLS client can make a server crash or call
through a freed pointer if its sni_callback assigns a different context to
SSLSocket.context (the documented way to select a certificate per server
name) and nothing else keeps the original ssl.SSLContext alive. Typical
cases are servers that create an SSLContext per connection or replace it
while connections are open; servers that wrap their listening socket with
it are not affected.
Mitigation: keep a reference to every SSLContext that sets sni_callback for
the lifetime of the server. TLS clients are not affected.
Affected Packages
https://github.com/python/cpython.git (GITHUB):
Affected version(s) >=v3.13.0a1 <v3.13.16Fix Suggestion:
Update to version v3.13.16https://github.com/python/cpython.git (GITHUB):
Affected version(s) >=v3.12.0a1 <v3.12.15Fix Suggestion:
Update to version v3.12.15https://github.com/python/cpython.git (GITHUB):
Affected version(s) >=v3.10.0a1 <v3.10.22Fix Suggestion:
Update to version v3.10.22https://github.com/python/cpython.git (GITHUB):
Affected version(s) >=v3.11.0a1 <v3.11.17Fix Suggestion:
Update to version v3.11.17https://github.com/python/cpython.git (GITHUB):
Affected version(s) >=v3.14.0a1 <v3.14.8Fix Suggestion:
Update to version v3.14.8Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Use After Free
EPSS
Base Score:
0.43