Skip to content

Critical CPython flaw affects SSLContext when SNI switches contexts

A security advisory published on September 30, 2026 reports a critical CPython flaw: a remote, unauthenticated TLS client can trigger a use-after-free when the server's sni_callback switches SSLContext objects.

By Wendelmaques ·

Source: CPython [CVE-2026-19445]: use-after-free de SSLContext do servidor quando sni_callback troca contextos (seclists.org). Text prepared with AI from this source.

What happened and what to do

The CPython security advisory, published on September 30, 2026, describes CVE-2026-19445 as a critical use-after-free flaw. According to the advisory, a remote, unauthenticated TLS client can trigger the issue when the server's sni_callback switches SSLContext objects.

Companies using CPython to terminate TLS connections can inventory versions and exposed services, find configurations where sni_callback changes contexts, and prioritize risk assessment. A practical response includes tracking official remediation guidance, planning updates, and monitoring affected services; any configuration change should be validated to avoid disrupting TLS service.

How the consultancy can help

Wendelmaques can diagnose exposure in Python applications and services, map TLS flows and sni_callback configurations, and propose a scoped implementation for updates, configuration changes, and operational monitoring.

Next step

Send a short description of your Python services and TLS configuration to receive a scoped proposal for diagnosis and implementation.

Looking for something else?Frequently asked questionsArticlesContact