CVE-2026-19445: Use-after-free of a server-side SSLContext when sni_callback switches contexts
Vulnerability summary
CVE-2026-19445 is a critical (CVSS 9.2) Use After Free vulnerability in python software foundation cpython. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 53.5% of scored vulnerabilities.
Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 45 · Related 25Timeline
- 30-09-2026PublishedVulnerability first disclosed.
- 10-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.68%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
Increase +0.15 pp
From 0.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat14 products
- python3.15< 0:3.15.0~rc2-1.1.hum1
- python3.15-debug< 0:3.15.0~rc2-1.1.hum1
- python3.15-devel< 0:3.15.0~rc2-1.1.hum1
- python3.15-freethreading< 0:3.15.0~rc2-1.1.hum1
- python3.15-freethreading-debug< 0:3.15.0~rc2-1.1.hum1
Ubuntu11 products
- python2.7All versions (No fix recorded)
- python3.10All versions (No fix recorded)
- python3.11All versions (No fix recorded)
- python3.12All versions (No fix recorded) | < 3.12.3-1ubuntu0.18
- python3.14All versions (No fix recorded)
Debian5 products
- pypy3All versions (No fix recorded) | < 8.0.1+dfsg-1
- python3.11< 3.11.2-6+deb12u9
- python3.13All versions (No fix recorded)
- python3.14< 3.14.8-1
- python3.15< 3.15.0~rc3-1
Suse5 products
- python-base&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.7.18-150000.139.2
- python-base&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 2.7.18-33.96.1
- python-doc&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 2.7.18-33.96.1
- python&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.7.18-150000.139.1
- python&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 2.7.18-33.96.1
Alpine1 product
- python3< 3.12.15-r0 | < 3.14.8-r0
Python software foundation1 product
- cpython< 3.10.22 | ≥ 3.11.0, < 3.11.17 | ≥ 3.12.0, < 3.12.15 | ≥ 3.13.0, < 3.13.16 | ≥ 3.14.0, < 3.14.8 | ≥ 3.15.0a1, < 3.15.0rc3
6 vendors · 37 products
References
30 links- mail.python.org/archives/list/[email protected]/thread/QMQIUQB6WGGC3MI7I3WKQXOYOBDSPPS3/Vendor AdvisoryARTICLEREPORT
Show all 30 references
- images.redhat.comARTICLE