Bug 2545933

Summary: CVE-2026-19445 python3.10: Use-after-free of a server-side SSLContext when sni_callback switches contexts [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: python3.10Assignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: cstratak, mhroncok, python-maint, python-packagers-sig, thrnciar, torsava, vstinner
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["5337ec1f-6905-4942-a83c-22a9673b156c"]}
Fixed In Version: python3.10-3.10.22-1.fc44 python3.10-3.10.22-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-12 01:02:13 UTC 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:14:36 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 16:10:52 UTC
FEDORA-2026-3c77f3452a (python3.10-3.10.22-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3c77f3452a

Comment 2 Fedora Update System 2026-10-05 16:10:55 UTC
FEDORA-2026-ab6004ec50 (python3.10-3.10.22-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ab6004ec50

Comment 3 Fedora Update System 2026-10-05 16:10:58 UTC
FEDORA-2026-9a19c3dfb2 (python3.10-3.10.22-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9a19c3dfb2

Comment 4 Fedora Update System 2026-10-12 01:02:13 UTC
FEDORA-2026-9a19c3dfb2 (python3.10-3.10.22-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-10-12 01:15:15 UTC
FEDORA-2026-ab6004ec50 (python3.10-3.10.22-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.