{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-19445","id":"CVE-2026-19445","title":"Use-after-free of a server-side SSLContext when sni_callback switches contexts","description":"A remote, unauthenticated TLS client can make a server crash or call\nthrough a freed pointer if its sni_callback assigns a different context to\nSSLSocket.context (the documented way to select a certificate per server\nname) and nothing else keeps the original ssl.SSLContext alive. Typical\ncases are servers that create an SSLContext per connection or replace it\nwhile connections are open; servers th","descriptionLong":"A remote, unauthenticated TLS client can make a server crash or call\nthrough a freed pointer if its sni_callback assigns a different context to\nSSLSocket.context (the documented way to select a certificate per server\nname) and nothing else keeps the original ssl.SSLContext alive. Typical\ncases are servers that create an SSLContext per connection or replace it\nwhile connections are open; servers that wrap their listening socket with\nit are not affected.\n\n\nMitigation: keep a reference to every SSLContext that sets sni_callback for\nthe lifetime of the server. TLS clients are not affected.","published":"2026-09-30T16:16:04.923Z","updated":"2026-11-17T17:28:11.882460120Z","reserved":"2026-08-10T13:31:21.724Z","status":"Awaiting Analysis","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":9.2,"vector":"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","rating":"critical","source":"PSF"},"metrics":[{"version":"4.0","score":9.2,"vector":"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","rating":"critical","source":"PSF"},{"version":"4.0","score":9.2,"vector":"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/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","rating":"critical","source":"python.org"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"}],"rating":"critical","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.10.22","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.17","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.15","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.16","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.8","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0rc3","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":["BIT-libpython-2026-19445","BIT-python-2026-19445","BIT-python-min-2026-19445","PSF-2026-43"],"references":[{"url":"https://github.com/python/cpython/pull/158504","tags":["patch","fix","web"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/QMQIUQB6WGGC3MI7I3WKQXOYOBDSPPS3/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/python/cpython/issues/156293","tags":["issue-tracking","report"]},{"url":"https://github.com/python/cpython/commit/34a53dce8174da2fceb12fe084a4def02a10053d","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/46133cd57d309652139ada74014aca7665ac552b","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/63fab143d94cafae71850831acfb52041ba44af7","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/cd7e51e7d4563866fbaa1e2521ae69b45daf3698","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/d8717ed01717a9641686e6e6f83f0ab8af235e2c","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/b12968cefe69ca1dcb8606c832ff73ee7dbf4ba8","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/ec44b5a3258cbda947d5e07242ee562ed05ef24b","tags":["patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/30/17","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19445.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19445","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00524,"epssPercentile":0.45187,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-19445","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19445","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-19445","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-19445","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["python"],"critical":["CVSS 9.2 in a widely used technology"],"attention":null}