CVE-2026-2297

Published: March 7, 2026Last modified: March 13, 2026

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.

Status

ProductReleasePackageStatus
Alpaquita Linux23 LTSpython3Fixed (3.11.13-r4)
25 LTSpython3Fixed (3.12.12-r3)
Streampython3Fixed (3.12.12-r4)
Hardened Containers23 LTSpython3Fixed (3.11.13-r4)
25 LTSpython3Fixed (3.12.12-r3)
Streampython3Fixed (3.12.12-r4)

References

ON THIS PAGE