CVE-2026-19445
Use-after-free of a server-side SSLContext when sni_callback switches contexts
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
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde 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 | — | — |
3.10.223.11.173.12.153.13.163.14.83.15.0rc3Arsenal público
Ver los 1 repositorios de GitHub
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.
https://mail.python.org/archives/list/security-announce@python.org/thread/QMQIUQB6WGGC3MI7I3WKQXOYOBDSPPS3/https://github.com/python/cpython/pull/158504https://github.com/python/cpython/commit/34a53dce8174da2fceb12fe084a4def02a10053dhttps://github.com/python/cpython/commit/46133cd57d309652139ada74014aca7665ac552bhttps://github.com/python/cpython/commit/63fab143d94cafae71850831acfb52041ba44af7https://github.com/python/cpython/commit/cd7e51e7d4563866fbaa1e2521ae69b45daf3698https://github.com/python/cpython/commit/d8717ed01717a9641686e6e6f83f0ab8af235e2chttps://github.com/python/cpython/commit/b12968cefe69ca1dcb8606c832ff73ee7dbf4ba8https://github.com/python/cpython/commit/ec44b5a3258cbda947d5e07242ee562ed05ef24bhttp://www.openwall.com/lists/oss-security/2026/09/30/17https://github.com/python/cpython/issues/156293https://github.com/abraxas/cve-2026-19445-sni-uafVer 1 referencias más
https://cert-portal.siemens.com/productcert/html/ssa-457936.htmlLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
