CVE Database
/

CVE-2026-2297

Back to search

CVE-2026-2297

Published: Mar 4, 2026

Modified: May 1, 2026

PUBLISHED

Description

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.

VendorProductVersions

Python Software Foundation

CPython

affected
0 - < 3.13.13
affected
3.14.0 - < 3.14.4
affected
3.15.0a1 - < 3.15.0a7

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now