ADVISORIES

Vulnerability

CVE-2026-2297

The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.

84 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2023-2026-1583

    Amazon Linux 2023 - ALAS2023-2026-1583: Important priority package update for python3.9

    Important CVE-2025-11468CVE-2025-15282CVE-2026-0672CVE-2026-0865 Amazon Linux Updated 13 April 2026
  • ALAS2023-2026-1600

    Amazon Linux 2023 - ALAS2023-2026-1600: Medium priority package update for python3.13

    Medium CVE-2026-2297CVE-2026-3644CVE-2026-4224 Amazon Linux Updated 30 April 2026
  • ALAS2023-2026-1674

    Amazon Linux 2023 - ALAS2023-2026-1674: Low priority package update for python3.14

    Low CVE-2026-2297 Amazon Linux Updated 13 May 2026
  • ALAS2023-2026-1821

    Amazon Linux 2023 - ALAS2023-2026-1821: Medium priority package update for python3.12

    Medium CVE-2026-2297CVE-2026-6019 Amazon Linux Updated 8 June 2026
  • ALAS2023-2026-1832

    Amazon Linux 2023 - ALAS2023-2026-1832: Medium priority package update for python3.11

    Medium CVE-2026-2297CVE-2026-6019 Amazon Linux Updated 22 June 2026
  • ALPINE-CVE-2026-2297

    The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for…

    CVE-2026-2297 Alpine Updated 1 October 2026
  • ALPINE-EDGE-CVE-2026-2297
    CVE-2026-2297 Alpine Updated 18 November 2026
  • ALSA-2026:10950

    Important: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 AlmaLinux Updated 29 October 2026
  • ALSA-2026:19019

    Important: python3.14 security update

    CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 AlmaLinux Updated 29 October 2026
  • ALSA-2026:19064

    Important: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 AlmaLinux Updated 29 October 2026
  • ALSA-2026:19176

    Important: python3.14 security update

    CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 AlmaLinux Updated 29 October 2026
  • ALSA-2026:19177

    Important: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 AlmaLinux Updated 29 October 2026
  • AZL-79413

    CVE-2026-2297 affecting package python3 3.9.19-19

    CVE-2026-2297 Azure Linux Updated 21 April 2026
  • AZL-79457

    CVE-2026-2297 affecting package python3 for versions less than 3.12.9-14

    CVE-2026-2297 Azure Linux Updated 8 September 2026
  • AZL-79491

    CVE-2026-2297 affecting package tensorflow 2.16.1-11

    CVE-2026-2297 Azure Linux Updated 21 April 2026
  • CGA-58mf-9mrv-x67r
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-7967-7qh5-pgf4
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-7mfj-2x79-6932
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-88ff-6245-vc44
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-88gw-63mv-cv2g
    CVE-2026-2297 Chainguard Updated 5 November 2026
  • CGA-9frp-664x-hchm
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-9r45-vx75-39vv
    CVE-2026-2297 Chainguard Updated 5 November 2026
  • CGA-9v4v-c56g-42w4
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-9vxj-84jq-f4jj
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-c854-qwwh-8h52
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-cgff-rrxx-hjw8
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-f5pf-4q4f-3qqv
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-g3rm-9mc5-cr46
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-hh4h-cxxc-8f75
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-jhx4-wp7v-82cm
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-mpmq-rf22-68vm
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-p5gw-jf83-97h2
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-v6mg-9w36-hr4q
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-vf8g-7hjc-rh5c
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-w796-v534-fc9g
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-w9p2-r75q-g5cw
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-wh6c-fc87-25qx
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CGA-xg75-93v7-gqg4
    CVE-2026-2297 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2026-2297

    SourcelessFileLoader does not use io.open_code()

    CVE-2026-2297 Python Updated 13 August 2026
  • DEBIAN-CVE-2026-2297

    The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for…

    CVE-2026-2297 Debian Updated 1 November 2026
  • DLA-4583-1

    python3.9 - security update

    CVE-2025-13462CVE-2026-0672CVE-2026-2297CVE-2026-3644 Debian Updated 20 November 2026
  • ELSA-2026-10950

    ELSA-2026-10950: python3.12 security update (IMPORTANT)

    Important CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Oracle Linux Updated 27 April 2026
  • ELSA-2026-19019

    ELSA-2026-19019: python3.14 security update (IMPORTANT)

    Important CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 Oracle Linux Updated 8 July 2026
  • ELSA-2026-19064

    ELSA-2026-19064: python3.12 security update (IMPORTANT)

    Important CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Oracle Linux Updated 8 July 2026
  • ELSA-2026-19176

    ELSA-2026-19176: python3.14 security update (IMPORTANT)

    Important CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 Oracle Linux Updated 12 June 2026
  • ELSA-2026-19177

    ELSA-2026-19177: python3.12 security update (IMPORTANT)

    Important CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Oracle Linux Updated 12 June 2026
  • OESA-2026-1816

    python3 security update

    High CVE-2026-2297CVE-2026-4519 openEuler Updated 18 August 2026
  • OESA-2026-1817

    python3 security update

    High CVE-2026-2297CVE-2026-4519 openEuler Updated 18 August 2026
  • OESA-2026-1818

    python3 security update

    High CVE-2026-2297CVE-2026-4519 openEuler Updated 18 August 2026
  • OESA-2026-1819

    python3 security update

    High CVE-2026-2297CVE-2026-4519 openEuler Updated 18 August 2026
  • RHSA-2026:10950

    Red Hat Security Advisory: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Red Hat Updated 23 November 2026
  • RHSA-2026:19019

    Red Hat Security Advisory: python3.14 security update

    CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 Red Hat Updated 13 November 2026
  • RHSA-2026:19064

    Red Hat Security Advisory: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Red Hat Updated 23 November 2026
  • RHSA-2026:19176

    Red Hat Security Advisory: python3.14 security update

    CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 Red Hat Updated 13 November 2026
  • RHSA-2026:19177

    Red Hat Security Advisory: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Red Hat Updated 23 November 2026
  • RHSA-2026:7443

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2025-11468CVE-2025-12084CVE-2025-13462CVE-2025-13836 Red Hat Updated 13 November 2026
  • RHSA-2026:7661

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2025-11468CVE-2025-12084CVE-2025-13462CVE-2025-13836 Red Hat Updated 13 November 2026
  • RHSA-2026:8822

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2025-11468CVE-2025-12084CVE-2025-13836CVE-2025-13837 Red Hat Updated 13 November 2026
  • RHSA-2026:8824

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2025-11468CVE-2025-12084CVE-2025-13836CVE-2025-13837 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2026-2297

    cpython: CPython: Logging Bypass in Legacy .pyc File Handling

    Low CVE-2026-2297 Red Hat Updated 7 November 2026
  • RLSA-2026:10950

    Important: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Rocky Linux Updated 28 April 2026
  • RLSA-2026:19019

    Important: python3.14 security update

    CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 Rocky Linux Updated 29 May 2026
  • RLSA-2026:19064

    Important: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Rocky Linux Updated 29 May 2026
  • RLSA-2026:19176

    Important: python3.14 security update

    CVE-2026-0865CVE-2026-1502CVE-2026-2297CVE-2026-3644 Rocky Linux Updated 30 May 2026
  • RLSA-2026:19177

    Important: python3.12 security update

    CVE-2025-13837CVE-2025-15282CVE-2025-59375CVE-2025-6075 Rocky Linux Updated 28 May 2026
  • SUSE-SU-2026:0971-1

    Security update for python39

    CVE-2026-2297 openSUSE Updated 24 March 2026
  • SUSE-SU-2026:1117-1

    Security update for python311

    CVE-2025-11468CVE-2025-12084CVE-2025-13836CVE-2025-13837 SUSE Updated 18 September 2026
  • SUSE-SU-2026:1349-1

    Security update for python311

    CVE-2025-11468CVE-2025-12084CVE-2025-13462CVE-2025-13836 SUSEopenSUSE Updated 16 April 2026
  • SUSE-SU-2026:1354-1

    Security update for python313

    CVE-2025-13462CVE-2026-1299CVE-2026-2297CVE-2026-3479 SUSE Updated 16 April 2026
  • SUSE-SU-2026:20951-1

    Security update for python311

    CVE-2026-1299CVE-2026-2297 SUSE Updated 8 April 2026
  • SUSE-SU-2026:20956-1

    Security update for python311

    CVE-2026-1299CVE-2026-2297 SUSE Updated 8 April 2026
  • SUSE-SU-2026:21104-1

    Security update for python313

    CVE-2025-13462CVE-2026-1299CVE-2026-2297CVE-2026-3479 SUSE Updated 17 April 2026
  • SUSE-SU-2026:21178-1

    Security update for python313

    CVE-2025-13462CVE-2026-1299CVE-2026-2297CVE-2026-3479 SUSE Updated 22 April 2026
  • SUSE-SU-2026:23743-1

    Security update for python311

    CVE-2021-4189CVE-2025-13462CVE-2025-4330CVE-2026-0864 SUSE Updated 27 September 2026
  • SUSE-SU-2026:4534-1

    Security update for python312

    CVE-2021-4189CVE-2025-13462CVE-2025-4330CVE-2026-0864 SUSE Updated 6 October 2026
  • UBUNTU-CVE-2026-2297

    The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for…

    CVE-2026-2297 Ubuntu Updated 8 September 2026
  • USN-8509-1

    python3.10, python3.12, python3.14 vulnerabilities

    CVE-2021-4189CVE-2025-13462CVE-2025-69534CVE-2026-0672 Ubuntu Updated 6 July 2026
  • openSUSE-SU-2026:10377-1

    python312-3.12.13-2.1 on GA media

    CVE-2026-2297 openSUSE Updated 17 March 2026
  • openSUSE-SU-2026:10381-1

    python311-3.11.15-2.1 on GA media

    CVE-2026-2297 openSUSE Updated 18 March 2026
  • openSUSE-SU-2026:10394-1

    python313-3.13.12-2.1 on GA media

    CVE-2026-2297 openSUSE Updated 20 March 2026
  • openSUSE-SU-2026:10404-1

    python310-3.10.20-2.1 on GA media

    CVE-2026-1299CVE-2026-2297 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10405-1

    python314-3.14.3-3.1 on GA media

    CVE-2026-2297 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10522-1

    python315-3.15.0~a8-1.1 on GA media

    CVE-2026-2297CVE-2026-3479 openSUSE Updated 10 April 2026
  • openSUSE-SU-2026:20517-1

    Security update for python313

    CVE-2025-13462CVE-2026-1299CVE-2026-2297CVE-2026-3479 openSUSE Updated 22 April 2026

References