published 17 Jun 2024 · updated 16 Nov 2026
Memory race condition in ssl.SSLContext certificate store methods
7.4HighCVSS 7.4EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.8.20, 3.10.14, 3.11.9 and 3 more.
A defect was discovered in the Python “ssl” module where there is a memory race condition with the ssl.SSLContext methods “cert_store_stats()” and “get_ca_certs()”. The race condition can be triggered if the methods are called at the same time as certificates are loaded into the SSLContext, such as during the TLS handshake with a certificate directory configured. This issue is fixed in CPython 3.10.14, 3.11.9, 3.12.3, and 3.13.0a5.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Python Software Foundation | <3.8.20, >=3.10.0 <3.10.14, >=3.11.0 <3.11.9, >=3.12.0 <3.12.3, >=3.13.0a1 <3.13.0a5, >=3.9.0 <3.9.20 | 3.8.20, 3.10.14, 3.11.9, 3.12.3, 3.13.0a5, 3.9.20 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket