Bug 2545939

Summary: CVE-2026-19445 python3.6: Use-after-free of a server-side SSLContext when sni_callback switches contexts [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: python3.6Assignee: 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, torsava, vstinner
Target Milestone: ---Keywords: Reopened, Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["5337ec1f-6905-4942-a83c-22a9673b156c"]}
Fixed In Version: python3.6-3.6.15-60.fc46 python3.6-3.6.15-60.fc43 python3.6-3.6.15-60.fc45 python3.6-3.6.15-60.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-20 07:39:02 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:16:23 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-11-12 20:00:13 UTC
FEDORA-2026-614b6429cb (python3.6-3.6.15-60.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-614b6429cb

Comment 2 Fedora Update System 2026-11-12 20:02:52 UTC
FEDORA-2026-614b6429cb (python3.6-3.6.15-60.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2026-11-12 21:47:03 UTC
FEDORA-2026-848bbd442b (python3.6-3.6.15-60.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-848bbd442b

Comment 4 Fedora Update System 2026-11-12 21:47:04 UTC
FEDORA-2026-eaec9934c0 (python3.6-3.6.15-60.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-eaec9934c0

Comment 5 Fedora Update System 2026-11-13 02:24:40 UTC
FEDORA-2026-eaec9934c0 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-eaec9934c0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-eaec9934c0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-11-13 03:28:46 UTC
FEDORA-2026-848bbd442b has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-848bbd442b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-848bbd442b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-11-13 03:44:36 UTC
FEDORA-2026-5a90f8090a has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5a90f8090a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a90f8090a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-11-20 07:39:02 UTC
FEDORA-2026-848bbd442b (python3.6-3.6.15-60.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-11-20 07:50:18 UTC
FEDORA-2026-eaec9934c0 (python3.6-3.6.15-60.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-11-20 08:10:55 UTC
FEDORA-2026-5a90f8090a (python3.6-3.6.15-60.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.