[CLSA-2026:1791467254] Fix CVE(s): CVE-2026-19445
Type:
security
Severity:
Critical
Release date:
2026-10-08 13:47:45 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
CVEs fixed:
Updated packages:
  • alt-python27_2.7.18-33_amd64.deb
    sha:fa42ad5c7667e3598e4d1ad476d1e17cdc53fab0
  • alt-python27-debug_2.7.18-33_amd64.deb
    sha:fe31859daa5ca643e9bc07b0c90d3acbaa896912
  • alt-python27-devel_2.7.18-33_amd64.deb
    sha:3260f9eb547d706f550f81595fbe3dd0041c9c74
  • alt-python27-idle_2.7.18-33_amd64.deb
    sha:04d747a66391cc3a66b5239854bc7ea4f3da522f
  • alt-python27-libs_2.7.18-33_amd64.deb
    sha:d95972e436595ae387ab1b294fc613daf7e6a498
  • alt-python27-test_2.7.18-33_amd64.deb
    sha:469dd404061cf7e18e2967a4fd5bcf3bdb9f8999
  • alt-python27-tkinter_2.7.18-33_amd64.deb
    sha:d52d24f9343155db200409fd7e189399d876420b
  • 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.