CVE-2026-19445

Use-after-free of a server-side SSLContext when sni_callback switches contexts

  • Critical 9.2

Description

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

Key facts

Published
30 Sep 2026
Last changed
10 Nov 2026
Assigned by
PSF
EPSS
0.524% likely to be exploited in the next 30 days, higher than 45.085% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 9.2CVSS 4.0, Criticalfrom the CNA (PSF)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
Python Software FoundationCPython
  • Default status: unaffected
  • 0 up to but excluding 3.10.22 (affected)
  • 3.11.0 up to but excluding 3.11.17 (affected)
  • 3.12.0 up to but excluding 3.12.15 (affected)
  • 3.13.0 up to but excluding 3.13.16 (affected)
  • 3.14.0 up to but excluding 3.14.8 (affected)
  • 3.15.0a1 up to but excluding 3.15.0rc3 (affected)

Timeline

  1. 30 Sep 2026 Published

Weakness

References