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
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/34a53dce8174da2fceb12fe084a4def02a10053d
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/46133cd57d309652139ada74014aca7665ac552b
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/63fab143d94cafae71850831acfb52041ba44af7
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/b12968cefe69ca1dcb8606c832ff73ee7dbf4ba8
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/cd7e51e7d4563866fbaa1e2521ae69b45daf3698
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/d8717ed01717a9641686e6e6f83f0ab8af235e2c
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/ec44b5a3258cbda947d5e07242ee562ed05ef24b
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/issues/156293
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.