Release date:
2026-10-08 18:52:54 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:5fa2d5856e3d381ee987683ce5037f077eb559bc
-
alt-python27-debug_2.7.18-33_amd64.deb
sha:acf9f1a56279148427882d660fe43ec42cd59880
-
alt-python27-devel_2.7.18-33_amd64.deb
sha:6a35120051ebd0e6c7f0ab6f0efc350df7a06161
-
alt-python27-idle_2.7.18-33_amd64.deb
sha:0f4df5a7aa9fc100ba79362bcb9067959384e250
-
alt-python27-libs_2.7.18-33_amd64.deb
sha:8e3ca8fbc00b0ae09e2603eb9f36d9698f1a7e06
-
alt-python27-test_2.7.18-33_amd64.deb
sha:81ee2948b1a1735fa16d3420a73c7460c7058462
-
alt-python27-tkinter_2.7.18-33_amd64.deb
sha:d86435463c75239b5b1323764bdb18b0147dff8e
-
alt-python27-tools_2.7.18-33_amd64.deb
sha:e5d4a12e090cba833eeff92dd55a566b51e97751
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.