ADVISORIES

Vulnerability

CVE-2024-0397

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.

37 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2025-2766

    Amazon Linux 2 2017.12 - ALAS2-2025-2766: medium priority package update for python3

    Medium CVE-2024-0397 Amazon Linux Updated 25 February 2025
  • ALAS2023-2024-699

    Amazon Linux 2023 - ALAS2023-2024-699: Medium priority package update for python3.9

    Medium CVE-2024-0397 Amazon Linux Updated 6 August 2024
  • ALAS2023-2024-788

    Amazon Linux 2023 - ALAS2023-2024-788: Medium priority package update for python3.11

    Medium CVE-2023-27043CVE-2024-0397CVE-2024-8088 Amazon Linux Updated 16 December 2024
  • AZL-42784

    CVE-2024-0397 affecting package python3 for versions less than 3.12.3-1

    CVE-2024-0397 Azure Linux Updated 21 April 2026
  • AZL-42796

    CVE-2024-0397 affecting package python3 for versions less than 3.9.19-3

    CVE-2024-0397 Azure Linux Updated 21 April 2026
  • CGA-cxvp-8wxx-f32m
    CVE-2024-0397 Chainguard Updated 5 November 2026
  • CGA-h76w-h578-gg85
    CVE-2024-0397 Chainguard Updated 5 November 2026
  • CNA-CVE-2024-0397

    Memory race condition in ssl.SSLContext certificate store methods

    CVE-2024-0397 Python Updated 3 November 2025
  • DEBIAN-CVE-2024-0397

    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…

    CVE-2024-0397 Debian Updated 2 November 2026
  • DLA-3980-1

    python3.9 - security update

    CVE-2015-20107CVE-2020-10735CVE-2021-28861CVE-2021-29921 Debian Updated 20 November 2026
  • DSA-5759-1

    python3.11 - security update

    CVE-2024-0397CVE-2024-4032CVE-2024-8088 Debian Updated 20 November 2026
  • OESA-2024-1940

    python3 security update

    High CVE-2024-0397CVE-2024-4032 openEuler Updated 18 August 2026
  • RHSA-2024:10983

    Red Hat Security Advisory: python3.9:3.9.21 security update

    CVE-2024-0397CVE-2024-11168CVE-2024-7592CVE-2024-9287 Red Hat Updated 13 November 2026
  • RHSA-2024:9190

    Red Hat Security Advisory: python3.12 security update

    CVE-2024-0397CVE-2024-0450CVE-2024-4032CVE-2024-8088 Red Hat Updated 13 November 2026
  • RHSA-2024:9192

    Red Hat Security Advisory: python3.11 security update

    CVE-2024-0397CVE-2024-0450CVE-2024-8088 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2024-0397

    cpython: python: Memory race condition in ssl.SSLContext certificate store methods

    Low CVE-2024-0397 Red Hat Updated 7 November 2026
  • SUSE-EL-9-CLIENT-TOOLS-2024-4029

    Security update for SUSE Manager Salt Bundle

    CVE-2024-0397CVE-2024-3651CVE-2024-37891CVE-2024-4032 SUSE Updated 24 July 2026
  • SUSE-SU-2024:2249-1

    Security update for python39

    CVE-2024-0397CVE-2024-4032 SUSE Updated 4 February 2026
  • SUSE-SU-2024:2274-1

    Security update for python39

    CVE-2024-0397CVE-2024-4032 SUSE Updated 4 February 2026
  • SUSE-SU-2024:2280-1

    Security update for python39

    CVE-2024-0397CVE-2024-4032 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:2479-1

    Security update for python3

    CVE-2023-52425CVE-2024-0397CVE-2024-0450CVE-2024-4032 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:2572-1

    Security update for python312

    CVE-2024-0397CVE-2024-4030CVE-2024-4032 SUSEopenSUSE Updated 2 May 2025
  • SUSE-SU-2024:4020-1

    Security update for SUSE Manager Salt Bundle

    CVE-2024-0397CVE-2024-3651CVE-2024-37891CVE-2024-4032 SUSE Updated 4 February 2026
  • SUSE-SU-2024:4021-1

    Security update for SUSE Manager Salt Bundle

    CVE-2024-0397CVE-2024-3651CVE-2024-37891CVE-2024-4032 SUSE Updated 4 February 2026
  • SUSE-SU-2024:4029-1

    Security update for SUSE Manager Salt Bundle

    CVE-2024-0397CVE-2024-3651CVE-2024-37891CVE-2024-4032 SUSE Updated 4 February 2026
  • SUSE-SU-2025:02089-1

    Security update for python311

    CVE-2024-0397CVE-2024-4032CVE-2024-6923 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2025:20025-1

    Security update for python311, python-rpm-macros

    CVE-2019-20907CVE-2019-9947CVE-2020-15523CVE-2020-15801 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20154-1

    Security update for python311

    CVE-2019-20907CVE-2019-9947CVE-2020-15523CVE-2020-15801 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20374-1

    Security update for python311

    CVE-2022-25236CVE-2023-27043CVE-2023-52425CVE-2023-6597 SUSE Updated 23 March 2026
  • SUSEVEX-CVE-2024-0397

    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…

    Moderate CVE-2024-0397 SUSE Updated 20 October 2026
  • UBUNTU-CVE-2024-0397

    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…

    CVE-2024-0397 Ubuntu Updated 8 September 2026
  • USN-6928-1

    python3.10, python3.8 vulnerabilities

    CVE-2024-0397CVE-2024-4032 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:14063-1

    python38-3.8.19-3.1 on GA media

    CVE-2024-0397 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14064-1

    python39-3.9.19-2.1 on GA media

    CVE-2024-0397 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14066-1

    python310-3.10.14-2.1 on GA media

    CVE-2024-0397 openSUSE Updated 7 May 2025
  • openSUSE-SU-2024:14082-1

    python311-3.11.9-3.1 on GA media

    CVE-2024-0397CVE-2024-4032 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14295-1

    python312-3.12.5-1.1 on GA media

    CVE-2024-0397CVE-2024-4030CVE-2024-4032CVE-2024-6923 openSUSE Updated 7 May 2025

References