Release date:
2026-10-09 06:55:32 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:3229b1230f9c15205b3bf57236e6984f224fcf6c
-
alt-python27-debug_2.7.18-33_amd64.deb
sha:a6cafebdf296c4ba2d5e62187e7f99d8cb2e6850
-
alt-python27-devel_2.7.18-33_amd64.deb
sha:9dc6d1852634ebaa50a39fa57e39b909ac7b9bf8
-
alt-python27-idle_2.7.18-33_amd64.deb
sha:04d747a66391cc3a66b5239854bc7ea4f3da522f
-
alt-python27-libs_2.7.18-33_amd64.deb
sha:02111881c9278036e7fd70dbd3b5e157f58982cb
-
alt-python27-test_2.7.18-33_amd64.deb
sha:e68067c9b92a9336e606ec0f8883c604334caed9
-
alt-python27-tkinter_2.7.18-33_amd64.deb
sha:0b873aef18f34e55ee726fa7f67da385e5617da3
-
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.