ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-2297

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:18.04:LTSpython3.8
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.8
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.9
All versions, no fix listed
Ubuntu:22.04:LTSpython3.10
All versions before 3.10.12-1~22.04.16 (fixed in 3.10.12-1~22.04.16)
Ubuntu:Pro:22.04:LTSpython3.11
All versions, no fix listed
Ubuntu:24.04:LTSpython3.12
All versions before 3.12.3-1ubuntu0.15 (fixed in 3.12.3-1ubuntu0.15)
Ubuntu:25.10python3.13
All versions, no fix listed
Ubuntu:25.10python3.14
All versions, no fix listed

References