Bug 2545936

Summary: CVE-2026-19445 python3.13: Use-after-free of a server-side SSLContext when sni_callback switches contexts [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: python3.13Assignee: Python Maintainers <python-maint>
Status: MODIFIED --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: ksurma, mhroncok, python-maint, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["5337ec1f-6905-4942-a83c-22a9673b156c"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2544138    

Description Srikanth Balasubramanian 2026-10-05 15:15:04 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-10-05 15:44:48 UTC
FEDORA-2026-67c5f750b3 (python3.13-3.13.16-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-67c5f750b3

Comment 2 Fedora Update System 2026-10-05 15:44:52 UTC
FEDORA-2026-d8c8cbcb0c (python3.13-3.13.16-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d8c8cbcb0c

Comment 3 Fedora Update System 2026-10-05 15:44:56 UTC
FEDORA-2026-1928c5d40b (python3.13-3.13.16-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-1928c5d40b