llamaCVEVulnerability Intelligence
/
CPython

CVE-2026-19445

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

UnclearParche disponibleuse-after-free
Descargar PNG JSON
CVSS 4.0
9.2
Crítica
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
Parche6 versiones3.10.22 · 3.11.17 · 3.12.15 · 3.13.16 …
Exposición49 dDesde la divulgación, 30 sept 2026, 11:16 a. m.
Detección22 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Fuente: PoC-in-GitHub
Verificada
30 sept 26
22 oct 26
24 oct 26
9 nov 26
10 nov 26
16 nov 26
19 nov 26
30 sept 26
13 oct 26
25 oct 26
6 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-19445 divulgada · CVSS 9.2 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects CPython and libpython servers whose sni_callback swaps SSLContext while the original context is not kept alive, in all versions before the fixes. Fixed in 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, and 3.15.0rc3.

¿Qué significa?When a server's sni_callback assigns a different SSLContext to the connection and nothing else keeps the original context alive, Python can free the original while it is still in use. A remote TLS client can then crash the server or make it call through a freed pointer.
¿Quién está afectado?CPython and libpython releases before 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, and 3.15.0rc3 are in scope. The setup is a server-side SSLContext whose sni_callback assigns a different context, with the original not kept alive elsewhere; servers that wrap their listening socket with the context are not in scope. To check the version, run python3 --version.
¿Qué hacer?Upgrade to the fixed release for the branch in use: 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, or 3.15.0rc3. Until then, keep a reference to every SSLContext that sets sni_callback for the lifetime of the server.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Server-side SSLContext whose sni_callback assigns a different context to SSLSocket.context“if its sni_callback assigns a different context to”
02
The original ssl.SSLContext is not kept alive by anything else“and nothing else keeps the original ssl.SSLContext alive”
03
Typical cases are servers that create an SSLContext per connection or replace it while connections are open“Typical cases are servers that create an SSLContext per connection or replace it”
04
Servers that wrap their listening socket with the context are not affected“servers that wrap their listening socket with”
MitigaciónKeep a reference to every SSLContext that sets sni_callback for the lifetime of the server.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
CPython · libpython · python · python-min< 3.10.22
CPython · libpython · python · python-min≥ 3.11.0 < 3.11.17
CPython · libpython · python · python-min≥ 3.12.0 < 3.12.15
CPython · libpython · python · python-min≥ 3.13.0 < 3.13.16
CPython · libpython · python · python-min≥ 3.14.0 < 3.14.8
CPython≥ 3.15.0a1 < 3.15.0rc3
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
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
CPython
Corregida 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, 3.15.0rc3 — —
libpython
Corregida 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8 — —
python
Corregida 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8 — —
Versiones corregidas3.10.223.11.173.12.153.13.163.14.83.15.0rc3
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
abraxas/cve-2026-19445-sni-uaf
1
Ver los 1 repositorios de GitHub
abraxas/cve-2026-19445-sni-uaf

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Registro
EscenarioGENERALPSF
Referencias
Fabricantehttps://mail.python.org/archives/list/security-announce@python.org/thread/QMQIUQB6WGGC3MI7I3WKQXOYOBDSPPS3/
Parchehttps://github.com/python/cpython/pull/158504
Parchehttps://github.com/python/cpython/commit/34a53dce8174da2fceb12fe084a4def02a10053d
Parchehttps://github.com/python/cpython/commit/46133cd57d309652139ada74014aca7665ac552b
Parchehttps://github.com/python/cpython/commit/63fab143d94cafae71850831acfb52041ba44af7
Parchehttps://github.com/python/cpython/commit/cd7e51e7d4563866fbaa1e2521ae69b45daf3698
Parchehttps://github.com/python/cpython/commit/d8717ed01717a9641686e6e6f83f0ab8af235e2c
Parchehttps://github.com/python/cpython/commit/b12968cefe69ca1dcb8606c832ff73ee7dbf4ba8
Parchehttps://github.com/python/cpython/commit/ec44b5a3258cbda947d5e07242ee562ed05ef24b
Análisishttp://www.openwall.com/lists/oss-security/2026/09/30/17
Reportehttps://github.com/python/cpython/issues/156293
Exploithttps://github.com/abraxas/cve-2026-19445-sni-uaf
Ver 1 referencias más
Otrahttps://cert-portal.siemens.com/productcert/html/ssa-457936.html

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.