cve.bz

CVE-2026-19445 python software foundation cpython: Use After Free

9.2 criticalEPSS 0.5%

Critical (9.2) in python software foundation cpython. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

9.2 critical
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
Assigned by
PSF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19445 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19445?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19445?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19445 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • python software foundation:cpython

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.10.22
Python Software Foundation CPythonfrom 3.11.0 before 3.11.17
Python Software Foundation CPythonfrom 3.12.0 before 3.12.15
Python Software Foundation CPythonfrom 3.13.0 before 3.13.16
Python Software Foundation CPythonfrom 3.14.0 before 3.14.8
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0rc3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pypy3no fix listedDEBIAN-CVE-2026-19445
Debian12python3.113.11.2-6+deb12u9DEBIAN-CVE-2026-19445
Debian13pypy3, python3.13no fix listedDEBIAN-CVE-2026-19445
Debian14pypy38.0.1+dfsg-1DEBIAN-CVE-2026-19445
Debian14python3.143.14.8-1DEBIAN-CVE-2026-19445
Debian14python3.153.15.0~rc3-1DEBIAN-CVE-2026-19445
Ubuntu22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-19445
Ubuntu24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-19445
Ubuntu26.04:LTS, 26.10python3.14no fix listedUBUNTU-CVE-2026-19445
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2026-19445
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2026-19445
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2026-19445
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2026-19445
UbuntuPro:22.04:LTSpython2.7, python3.11no fix listedUBUNTU-CVE-2026-19445
Red Hatenterprise_linux:8::appstreampython3-idle, python3-test, platform-python and 5 more0:3.6.8-79.el8_10RHSA-2026:85239
Red Hatenterprise_linux:8::appstreampython3.12, python3.12-libs, python3.12-devel and 4 more0:3.12.15-2.el8_10RHSA-2026:77028
Red Hatenterprise_linux:8::baseospython3, python3-libs, python3-test and 3 more0:3.6.8-79.el8_10RHSA-2026:85239
Red Hatenterprise_linux:8::crbpython3.12, python3.12-idle, python3.12-test and 4 more0:3.12.15-2.el8_10RHSA-2026:77028
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-14.el9_9RHSA-2026:98511
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-7.el9_8.6RHSA-2026:89742
Red Hatenterprise_linux:9::appstreampython3.12, python3.12-libs, python3.12-devel and 3 more0:3.12.15-1.el9_8RHSA-2026:77017
Red Hatenterprise_linux:9::appstreampython3.14, python3.14-libs, python3.14-devel and 3 more0:3.14.8-1.el9_8RHSA-2026:77021
Red Hatenterprise_linux:9::baseospython3, python3.9, python3-libs and 2 more0:3.9.25-14.el9_9RHSA-2026:98511
Red Hatenterprise_linux:9::baseospython3, python3.9, python3-libs and 2 more0:3.9.25-7.el9_8.6RHSA-2026:89742
Red Hatenterprise_linux:9::crbpython3, python3-idle, python3-test and 4 more0:3.9.25-14.el9_9RHSA-2026:98511
Red Hatenterprise_linux:9::crbpython3, python3-idle, python3-test and 4 more0:3.9.25-7.el9_8.6RHSA-2026:89742
9 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morepython3, python3-core3.6.15-150300.10.134.1SUSE-SU-2026:5251-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morepython311, python311-core, python311-documentation3.11.17-150400.9.105.1SUSE-SU-2026:4809-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepython310, python310-core3.10.22-150400.4.129.1SUSE-SU-2026:4630-1
SUSELinux Enterprise Module for Basesystem 15 SP7python311-core3.11.17-150600.3.74.1SUSE-SU-2026:4946-1
SUSELinux Enterprise Module for Development Tools 15 SP7python3-core3.6.15-150300.10.134.1SUSE-SU-2026:5251-1
SUSELinux Enterprise Module for Package Hub 15 SP7python2.7.18-150000.139.1SUSE-SU-2026:4919-1
SUSELinux Enterprise Module for Package Hub 15 SP7python-base2.7.18-150000.139.2SUSE-SU-2026:4919-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.17-150400.9.105.1SUSE-SU-2026:4809-1
SUSELinux Enterprise Module for Python 3 15 SP7python313, python313-core3.13.16-150700.4.61.1SUSE-SU-2026:4941-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python311, python311-core3.11.17-150600.3.74.1SUSE-SU-2026:4946-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python312, python312-core3.12.15-150600.3.71.1SUSE-SU-2026:4659-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5python, python-doc, python-base2.7.18-33.96.1SUSE-SU-2026:5137-1
2 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedpython3103.10.22-1.1openSUSE-SU-2026:12087-1
openSUSETumbleweedpython3113.11.17-1.1openSUSE-SU-2026:12121-1
openSUSETumbleweedpython3123.12.15-1.1openSUSE-SU-2026:12122-1
openSUSETumbleweedpython3133.13.16-1.1openSUSE-SU-2026:12123-1
openSUSETumbleweedpython3143.14.8-1.1openSUSE-SU-2026:12124-1
openSUSETumbleweedpython3153.15.0~rc3-1.1openSUSE-SU-2026:12069-1
openSUSETumbleweedpython3163.16.0~a1-1.1openSUSE-SU-2026:12477-1
AlmaLinux8python3-idle, python3-libs, python3-test and 4 more3.6.8-79.el8_10.alma.1ALSA-2026:85239
AlmaLinux8python3.12, python3.12-idle, python3.12-libs and 5 more3.12.15-2.el8_10ALSA-2026:77028
AlmaLinux9python3, python3-idle, python3-libs and 5 more3.9.25-7.el9_8.6ALSA-2026:89742
AlmaLinux9python3.12, python3.12-idle, python3.12-libs and 4 more3.12.15-1.el9_8ALSA-2026:77017
AlmaLinux9python3.14, python3.14-idle, python3.14-libs and 11 more3.14.8-1.el9_8ALSA-2026:77021
AlmaLinux10python-unversioned-command3.12.15-1.el10_2ALSA-2026:77020
AlmaLinux10python3.14, python3.14-idle, python3.14-libs and 11 more3.14.8-1.el10_2ALSA-2026:77018
Rocky Linux8python30:3.6.8-79.el8_10.rocky.0RLSA-2026:85239
Rocky Linux8python3.120:3.12.15-2.el8_10RLSA-2026:77028
Rocky Linux9python3.120:3.12.15-1.el9_8RLSA-2026:77017
Rocky Linux9python3.140:3.14.8-1.el9_8RLSA-2026:77021
Rocky Linux9python3.90:3.9.25-7.el9_8.6RLSA-2026:89742
Rocky Linux10python3.120:3.12.15-1.el10_2RLSA-2026:77020
Rocky Linux10python3.140:3.14.8-1.el10_2RLSA-2026:77018
Alpinev3.21, v3.22, v3.23python33.12.15-r0ALPINE-CVE-2026-19445
Alpinev3.24python33.14.8-r0ALPINE-CVE-2026-19445
Azure Linux3python33.12.15-1AZL-105690
Alpaquita23python33.11.17-r0BELL-CVE-2026-19445
Alpaquita25python33.12.15-r0BELL-CVE-2026-19445
Alpaquitastreampython33.14.8-r3BELL-CVE-2026-19445
BellSoft Hardened Containers23python33.11.17-r0BELL-CVE-2026-19445
BellSoft Hardened Containers25python33.12.15-r0BELL-CVE-2026-19445
BellSoft Hardened Containersstreampython33.14.8-r3BELL-CVE-2026-19445

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue is rated Important. A remote unauthenticated client can trigger a server-side use-after-free when SNI callback code switches SSLSocket.context and drops the last reference to the original SSLContext, which can crash the process or call through a freed pointer (C:H/I:H/A:H). It is not Critical: exploitation requires a specific, non-default server pattern (per-connection or replaced SSLContext with sni_callback); the common pattern of wrapping the listening socket is explicitly not affected, so Attack Complexity is High. Red Hat ASLR, NX, and glibc heap hardening raise the bar for reliable code execution from the UAF but do not remove the crash/DoS impact, so Availability remains High.

Red Hat's mitigation

Restrict Python TLS servers that use SSLContext.sni_callback to trusted clients. Keep a strong reference to every SSLContext that registers an SNI callback for the lifetime of the server so the original context cannot be garbage-collected while connections remain open. Prefer wrapping the listening socket with a long-lived SSLContext; that common pattern is not affected. Host heap allocator hardening increases the difficulty of turning the use-after-free into reliable code execution but does not prevent process crashes.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python3.14-0:3.14.8-1.el10_2Fixed 2026-10-08RHSA-2026:77018
Red Hat Enterprise Linux 10python3.12-0:3.12.15-1.el10_2Fixed 2026-10-08RHSA-2026:77020
Red Hat Enterprise Linux 8python3.12-0:3.12.15-2.el8_10Fixed 2026-10-07RHSA-2026:77028
Red Hat Enterprise Linux 8python3-0:3.6.8-79.el8_10Fixed 2026-10-19RHSA-2026:85239
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython3-0:3.6.8-39.el8_4.13Fixed 2026-11-04RHSA-2026:95082
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpython3-0:3.6.8-39.el8_4.13Fixed 2026-11-04RHSA-2026:95082
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpython3-0:3.6.8-47.el8_6.16Fixed 2026-11-03RHSA-2026:94443
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onpython3-0:3.6.8-47.el8_6.16Fixed 2026-11-03RHSA-2026:94443
Red Hat Enterprise Linux 9python3.12-0:3.12.15-1.el9_8Fixed 2026-10-08RHSA-2026:77017
Red Hat Enterprise Linux 9python3.14-0:3.14.8-1.el9_8Fixed 2026-10-08RHSA-2026:77021
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Enterprise Linux 7python3Affected
Red Hat Enterprise Linux 8python3.11Out of support scope
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Enterprise Linux 9python3.11Out of support scope
Red Hat Hardened Imageshi/pythonNot affected
Red Hat Hardened Imagespython3.10Not affected
Red Hat Hardened Imagespython3.11Not affected
Red Hat Hardened Imagespython3.12Not affected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19445.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

References

Check your stackJSON