Red Hat Security Advisory: python3 security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2026-19445 — python: Use-after-free of a server-side SSLContext when sni_callback switches contexts CVE-2026-19553 — python: python: Certificate verification bypass via missing server_hostname validation in SSLContext.wrap_bio()
🎯 Affected products61
- Red Hat Enterprise Linux AppStream E4S (v.8.8)
- Red Hat Enterprise Linux AppStream TUS (v.8.8)
- Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- Red Hat Enterprise Linux BaseOS TUS (v.8.8)
- platform-python-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- platform-python-0:3.6.8-51.el8_8.18.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- platform-python-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- platform-python-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
- platform-python-debug-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-debug-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- platform-python-debug-0:3.6.8-51.el8_8.18.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-debug-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-debug-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- platform-python-devel-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-devel-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- platform-python-devel-0:3.6.8-51.el8_8.18.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-devel-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- platform-python-devel-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- python3-0:3.6.8-51.el8_8.18.src as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- python3-0:3.6.8-51.el8_8.18.src as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.i686 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
- python3-debuginfo-0:3.6.8-51.el8_8.18.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
- +31 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Restrict Python TLS servers that use SSLContext.sni_callback to trusted clients. Keep a strong reference to every SSLContext that registers an SNI callback for the lifetime of the server so the original context cannot be garbage-collected while connections remain open. Prefer wrapping the listening socket with a long-lived SSLContext; that common pattern is not affected. Host heap allocator hardening increases the difficulty of turning the use-after-free into reliable code execution but does not prevent process crashes. Workaround: Restrict Python TLS clients to trusted networks so an on-path attacker cannot intercept sessions. Applications that use SSLContext.wrap_bio(), asyncio.create_connection(), or loop.start_tls() with check_hostname enabled must pass a non-empty server_hostname; hostname verification then proceeds and this flaw is not reachable. Optionally pin expected server certificates so a mismatched host certificate is rejected even if hostname checking is skipped.
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2026:100548
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2544127
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2544138
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_100548.json