Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-0397

published high CVSS 3.1 · 7.4

Memory race condition in ssl.SSLContext certificate store methods

Published
17 Jun 2024, 15:09:40 UTC
Updated
03 Nov 2025, 21:50:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Python Software Foundation — CPython0 to < 3.8.20 · 3.9.0 to < 3.9.20 · 3.10.0 to < 3.10.14 · 3.11.0 to < 3.11.9 · 3.12.0 to < 3.12.3 · 3.13.0a1 to < 3.13.0a5 · Other versions: unaffected Affected Not stated PSF
python_software_foundation — cpython0 to < 3.8.20 · 3.9.0 to < 3.9.20 · 3.10.0 to < 3.10.14 · 3.11.0 to < 3.11.9 · 3.12.0 to < 3.12.3 · 3.13.0a1 to < 3.13.0a5 · Other versions: unaffected Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluationALAS2-2025-2766 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PYTHON3.8-2024-016 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-699 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-788 Fixed Not stated Amazon Linux assessment

Description

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.

en · PSF · cna

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.4 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Python Software Foundation CPython 0 to < 3.8.20 (affected · python)3.9.0 to < 3.9.20 (affected · python)3.10.0 to < 3.10.14 (affected · python)3.11.0 to < 3.11.9 (affected · python)3.12.0 to < 3.12.3 (affected · python)3.13.0a1 to < 3.13.0a5 (affected · python)Default: unaffected PSF · cna
python_software_foundation cpython 0 to < 3.8.20 (affected · python)3.9.0 to < 3.9.20 (affected · python)3.10.0 to < 3.10.14 (affected · python)3.11.0 to < 3.11.9 (affected · python)3.12.0 to < 3.12.3 (affected · python)3.13.0a1 to < 3.13.0a5 (affected · python)Default: unaffected CISA-ADP · adp

Weaknesses

1
  • CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (CISA-ADP · adp)

References

12

Provider assertions

3

PSF · cna

Memory race condition in ssl.SSLContext certificate store methods

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b11b118bf8a8ba7894577df09f79ff30cd3a672f35331fc9e04b3a315dde03b5
Ingested
23 Sep 2026, 08:16:19 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected