CVE-2026-19445

Severity CVSS v4.0:
CRITICAL
Type:
CWE-416 Use After Free
Publication date:
30/09/2026
Last modified:
10/11/2026

Description

A remote, unauthenticated TLS client can make a server crash or call<br /> through a freed pointer if its sni_callback assigns a different context to<br /> SSLSocket.context (the documented way to select a certificate per server<br /> name) and nothing else keeps the original ssl.SSLContext alive. Typical<br /> cases are servers that create an SSLContext per connection or replace it<br /> while connections are open; servers that wrap their listening socket with<br /> it are not affected.<br /> <br /> <br /> Mitigation: keep a reference to every SSLContext that sets sni_callback for<br /> the lifetime of the server. TLS clients are not affected.