Release date:
2026-10-08 14:20:23 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:5132dfd2cc24ca5c29f899337fac4448df3965f7
-
alt-python27-debug_2.7.18-33_amd64.deb
sha:4ebdf07f00e7d45e8cf5d1974b74149be9075c9c
-
alt-python27-devel_2.7.18-33_amd64.deb
sha:520a594da79fa4c0d09ffd93da9c313deebd6d38
-
alt-python27-idle_2.7.18-33_amd64.deb
sha:04d747a66391cc3a66b5239854bc7ea4f3da522f
-
alt-python27-libs_2.7.18-33_amd64.deb
sha:84433344d700d90ea2514ba1ef8548a486835650
-
alt-python27-test_2.7.18-33_amd64.deb
sha:8f381da8d4b3449c9c4b8ec57bac7bc9efe518da
-
alt-python27-tkinter_2.7.18-33_amd64.deb
sha:ba0ee295c2113f621b363e91aadac388407809e8
-
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.