[CLSA-2026:1791485788] Fix CVE(s): CVE-2026-19445
Type:
security
Severity:
Critical
Release date:
2026-10-08 18:56:39 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:da800a336b0cc84b1003febe9e92ccb319fa7851
  • alt-python27-debug_2.7.18-33_amd64.deb
    sha:0a8a6a90e9963c551ff53c345296ab82bc11c347
  • alt-python27-devel_2.7.18-33_amd64.deb
    sha:1104351a46bc3a4bdc1953d742591d2ce31bea88
  • alt-python27-idle_2.7.18-33_amd64.deb
    sha:5ce3ae8ca45253dee5857e97c4a98d0bc6e69323
  • alt-python27-libs_2.7.18-33_amd64.deb
    sha:801a676fd30b58e003e6864eb94de9da141af159
  • alt-python27-test_2.7.18-33_amd64.deb
    sha:e6711b3368925aefd852efeffc1b5109aca49e78
  • alt-python27-tkinter_2.7.18-33_amd64.deb
    sha:657a939d2509e62a6c4d2fd9e25c109405643fe3
  • alt-python27-tools_2.7.18-33_amd64.deb
    sha:3d98bbb35ea92bb4980afefaefc759876361a790
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.