PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-19445 Python Software Foundation CVE debrief

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 and nothing else keeps the original ssl.SSLContext alive. Servers that create an SSLContext per connection or replace it while connections are open are affected; servers that wrap their listening socket with it are not. Mitigation involves keeping a reference to every SSLContext that sets sni_callback for the lifetime of the server. TLS clients are not affected.

Vendor
Python Software Foundation
Product
CPython
CVSS
CRITICAL 9.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-30
Original CVE updated
2026-11-10
Advisory published
2026-09-30
Advisory updated
2026-11-10

Who should care

Defenders responsible for server configurations, particularly those using Python's SSL/TLS implementation, should assess exposure and verify SSLContext usage to prevent potential server crashes or code execution.

Why it matters

CVE-2026-19445 is a critical vulnerability affecting servers that use a specific configuration of SSL/TLS with Python. Defenders should prioritize verifying SSLContext usage and ensuring proper mitigation to prevent server crashes or potential code execution.

  • Server crashes or instability due to improper SSLContext handling
  • Potential for code execution or unexpected behavior if not properly mitigated
  • Need for verification of SSLContext usage in server configurations
  • Importance of maintaining references to SSLContexts for server lifetime

Technical summary

The vulnerability involves a remote, unauthenticated TLS client being able to make a server crash or call through a freed pointer due to improper handling of SSLContexts in the sni_callback. This can occur when servers create an SSLContext per connection or replace it while connections are open. Defenders should prioritize verifying SSLContext usage in server configurations and ensuring that references to SSLContexts are maintained for the lifetime of the server to prevent crashes or potential code execution. The issue is particularly relevant for servers that use Python's SSL/TLS implementation and have specific configurations that could be exploited.

Defensive priority

Defenders should prioritize verifying SSLContext usage in server configurations and ensuring that references to SSLContexts are maintained for the lifetime of the server to prevent crashes or potential code execution.

Recommended defensive actions

  • Verify SSLContext usage in server configurations
  • Ensure references to SSLContexts are maintained for the lifetime of the server
  • Review server code for SSLContext replacement or creation per connection
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description and potential impact. However, specific details about affected versions or exploitation are limited. Defenders should verify SSLContext usage in server configurations and ensure references to SSLContexts are maintained for the server lifetime to prevent crashes or potential code execution. Evidence from the CVE Program and NVD suggests that servers creating an SSLContext per connection or replacing it while connections are open are affected;

Sources and references

Verified primary and authoritative sources

  • CVE-2026-19445 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-19445

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-19445 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-19445

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.