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 in Amazon Linux

  • 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

References