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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.16 (fixed in 3.10.12-1~22.04.16) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.15 (fixed in 3.12.3-1ubuntu0.15) |
| Ubuntu:25.10 | python3.13 | All versions, no fix listed |
| Ubuntu:25.10 | python3.14 | All versions, no fix listed |