NONE · 0

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.aud...

Vulnerability 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.

Related Weaknesses (CWE)

References

FAQ

What is CVE-2026-2297?

CVE-2026-2297 is a documented vulnerability. 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.aud...

How severe is CVE-2026-2297?

CVSS scoring is not yet available for CVE-2026-2297. Check NVD for updates.

Is there a patch for CVE-2026-2297?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.