[CLSA-2026:1791476368] Fix CVE(s): CVE-2026-19445
Type:
security
Severity:
Critical
Release date:
2026-10-09 08:10:48 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:289658214569dfce0409818037f6eaae7a86880a
  • alt-python27-debug_2.7.18-33_amd64.deb
    sha:a3c4f042455e6e4381d4f20766e10374a4d61c7d
  • alt-python27-devel_2.7.18-33_amd64.deb
    sha:f2a043ef87d0a07f51ca2e32f6c6282a45ecf99a
  • alt-python27-idle_2.7.18-33_amd64.deb
    sha:c7b6a1b2348d363bd907d2db7f3f360fd53f00e8
  • alt-python27-libs_2.7.18-33_amd64.deb
    sha:416736d82c41124f2e3782a3e528b67b2a8f8172
  • alt-python27-test_2.7.18-33_amd64.deb
    sha:f63535eda41955863f36cfdcd6f9cc61df4f6ddb
  • alt-python27-tkinter_2.7.18-33_amd64.deb
    sha:e1332529304fd602c7dc8de1e4bf8245a784032b
  • alt-python27-tools_2.7.18-33_amd64.deb
    sha:b150095c1526a8ba8adadba1e88de21326ea9b3e
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.