Release date:
2026-10-09 07:55:21 UTC
Description:
* SECURITY UPDATE: use-after-free of a server-side SSLContext when the
servername (SNI) callback switches contexts. _servername_callback in
Modules/_ssl.c reached the Python SSLContext through a borrowed pointer
stored with SSL_CTX_set_tlsext_servername_arg(). When the callback
assigned another context to SSLSocket.context and nothing else kept the
original alive, C code later used freed memory: in
PyErr_WriteUnraisable() after a raising callback, and on a second
ClientHello (TLS 1.3 HelloRetryRequest) that falls back to the original
SSL_CTX through session_ctx.
- debian/patches/CVE-2026-19445.patch: backport of cpython
ec44b5a3258cbda947d5e07242ee562ed05ef24b (gh-156293, GH-158504),
adapted to 2.7's set_servername_callback()/set_hostname. The callback
now holds strong references to the socket's current context and its
callback, the borrowed servername arg is no longer registered, and
context_dealloc() unregisters the callback. The upstream MemoryBIO
tests are rewritten over socket.socketpair().
- CVE-2026-19445
Updated packages:
-
alt-python27_2.7.18-33_amd64.deb
sha:37d8b4c37877f0416bad036397cc97eb5433cfa0
-
alt-python27-debug_2.7.18-33_amd64.deb
sha:43bee5b4e2aacd5062f54865019976dc6101ff7f
-
alt-python27-devel_2.7.18-33_amd64.deb
sha:222df98a581d2eaeda35af5345e115fec8d72820
-
alt-python27-idle_2.7.18-33_amd64.deb
sha:04d747a66391cc3a66b5239854bc7ea4f3da522f
-
alt-python27-libs_2.7.18-33_amd64.deb
sha:032f3d06b5610a7e1118fc6c160cd236899cdae6
-
alt-python27-test_2.7.18-33_amd64.deb
sha:c50b54bf2f2b23b80e8ad235e1bc5ea2102ef4fe
-
alt-python27-tkinter_2.7.18-33_amd64.deb
sha:5c80e489f4bb9a8461a0cde5f9ed58ce8e8d2ae5
-
alt-python27-tools_2.7.18-33_amd64.deb
sha:d64f8c6cbedcc63db08070de558a0dc1a1e84095
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.