Skip to content
RedCVE

CVE-2026-19445Python CPython use-after-free

PythonSiemensPublished:

CVSS score

9.2

Critical

CVSS 4.0 from python.org

Exploit probability (EPSS)

0.68%

0.68% chance of exploitation in the next 30 days, higher than 53.2% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: cna@python.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Python CPython, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0), Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) and compare its version with the affected versions.

  2. Update to a fixed version

    • Update CPython to 3.10.22, 3.11.17, 3.12.15, 3.13.16 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
Python 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
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-19445 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-19445?

CVE-2026-19445 has a CVSS 4.0 base score of 9.2 (critical).

Which versions are affected?

Python 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), Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) (V3.1.7), Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) (V3.1.7), Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) (V3.1.7), Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) (V3.1.7), Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) (V3.1.7)

Is there a patch for CVE-2026-19445?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.