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
Debian bookworm python3.11 Advisory build 3.11.2-6+deb12u3 DSA-5759-1
Red Hat Enterprise Linux RHEL-9 python-unversioned-commandnoarch Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-12-SP5 libpython3_6m1_0aarch64 Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
Debian bullseye python3.9 Advisory build 3.9.2-1+deb11u2 DLA-3980-1
Red Hat Enterprise Linux RHEL-9 python3aarch64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3ppc64le Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3s390x Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3x86_64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-develaarch64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-develi686 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-develppc64le Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-devels390x Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-develx86_64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-libsaarch64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-libsi686 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-libsppc64le Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-libss390x Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-libsx86_64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-tkinteraarch64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-tkinterppc64le Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-tkinters390x Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3-tkinterx86_64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.11aarch64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11ppc64le Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11s390x Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11src Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11x86_64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debuginfoaarch64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debuginfoi686 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debuginfoppc64le Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debuginfos390x Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debuginfox86_64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debugsourceaarch64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debugsourcei686 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debugsourceppc64le Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debugsources390x Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-debugsourcex86_64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-develaarch64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-develi686 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-develppc64le Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-devels390x Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-develx86_64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-libsaarch64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-libsi686 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-libsppc64le Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-libss390x Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-libsx86_64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-tkinteraarch64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-tkinterppc64le Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-tkinters390x Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.11-tkinterx86_64 Advisory build 3.11.9-7.el9 RHSA-2024:9192
Red Hat Enterprise Linux RHEL-9 python3.12aarch64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12ppc64le Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12s390x Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12src Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12x86_64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debuginfoaarch64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debuginfoi686 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debuginfoppc64le Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debuginfos390x Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debuginfox86_64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debugsourceaarch64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debugsourcei686 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debugsourceppc64le Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debugsources390x Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-debugsourcex86_64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-develaarch64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-develi686 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-develppc64le Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-devels390x Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-develx86_64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-libsaarch64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-libsi686 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-libsppc64le Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-libss390x Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-libsx86_64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-tkinteraarch64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-tkinterppc64le Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-tkinters390x Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.12-tkinterx86_64 Advisory build 3.12.5-2.el9 RHSA-2024:9190
Red Hat Enterprise Linux RHEL-9 python3.9src Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debuginfoaarch64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debuginfoi686 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debuginfoppc64le Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debuginfos390x Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debuginfox86_64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debugsourceaarch64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debugsourcei686 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debugsourceppc64le Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debugsources390x Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
Red Hat Enterprise Linux RHEL-9 python3.9-debugsourcex86_64 Advisory build 3.9.21-1.el9_5 RHSA-2024:10983
SUSE / openSUSE SLE-12-SP5 libpython3_6m1_0ppc64le Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 libpython3_6m1_0s390x Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 libpython3_6m1_0x86_64 Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 libpython3_6m1_0-32bits390x Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 libpython3_6m1_0-32bitx86_64 Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 python36aarch64 Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 python36ppc64le Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 python36s390x Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1
SUSE / openSUSE SLE-12-SP5 python36x86_64 Advisory build 3.6.15-58.1 SUSE-SU-2024:2274-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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

Vendor advisories explicitly linked to this CVE.

39

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