← Back to CVEs
CVE-2026-2297
N/ADescription
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.
CVE Details
CVSS v3.1 ScoreN/A
Published3/4/2026
Last Modified3/12/2026
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-668
References
https://github.com/python/cpython/issues/145506(cna@python.org)
https://github.com/python/cpython/pull/145507(cna@python.org)
http://www.openwall.com/lists/oss-security/2026/03/05/6(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.