[CLSA-2026:1791450128] Fix CVE(s): CVE-2026-19445, CVE-2026-19553
Type:
security
Severity:
Critical
Release date:
2026-10-08 09:02:23 UTC
Description:
* SECURITY UPDATE: use-after-free in the ssl servername (SNI) callback. _servername_callback() reached the Python SSLContext through a borrowed pointer registered with SSL_CTX_set_tlsext_servername_arg(). When the callback switched the connection to another context and nothing else kept the original one alive, a raising callback (PyErr_WriteUnraisable) or a second ClientHello (TLS 1.3 HelloRetryRequest, TLS 1.2 renegotiation) dispatched through the session_ctx used freed memory. - debian/patches/CVE-2026-19445.patch: backport of cpython ec44b5a3258cbda947d5e07242ee562ed05ef24b (gh-156293, GH-158504). The callback now takes strong references to ssl->ctx and its callback, the borrowed arg is no longer registered, and context_dealloc() unregisters the callback. Rewritten for 3.6's set_hostname field, WITH_THREAD guards and lack of Py_NewRef(); the tests use set_servername_callback() instead of sni_callback. - CVE-2026-19445 * SECURITY UPDATE: SSLContext.wrap_bio() did not require server_hostname when check_hostname was enabled, so an SSLObject whose handshake ran implicitly through read()/write() verified the certificate chain but never the peer's hostname, and reported no error. - debian/patches/CVE-2026-19553.patch: backport of cpython 5867d4e4ae6d1062352baf6b497a4026e8578ccf (gh-156793, GH-158503). wrap_bio() now validates its parameters as wrap_socket() does. It raises ValueError, as upstream 3.13+ does, instead of the 3.10 DeprecationWarning, which 3.6 ignores by default. The asyncio part does not apply to 3.6. - CVE-2026-19553
Updated packages:
  • alt-python36_3.6.15-50_amd64.deb
    sha:d03e2fd1fcdf99f8bb6be0b5bd61918df80ad0e4
  • alt-python36-debug_3.6.15-50_amd64.deb
    sha:15384d186fba2f6ddfa8c512ce427d2fee419f7e
  • alt-python36-devel_3.6.15-50_amd64.deb
    sha:eae333cc5dbc1c4636299b157b3068b83ddc97a8
  • alt-python36-libs_3.6.15-50_amd64.deb
    sha:16e14d6c535d707886c50aa97fd6c95eaef1787b
  • alt-python36-test_3.6.15-50_amd64.deb
    sha:a54dbd0a3a7688b62d52fb1c36c0fe9debeb4e0c
  • alt-python36-tkinter_3.6.15-50_amd64.deb
    sha:4d80db885de4a13e2a2a9c43989e3dc46d3d40f0
  • alt-python36-tools_3.6.15-50_amd64.deb
    sha:4153e9108888f6fb70214dcaa272490c93ffe20f
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.