CVE-2026-2297
NoneCVSS
—
EPSS
0.2%
Published
Mar 4, 2026
CISA due date
—
The record
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 | Introduced | Fixed |
|---|---|---|---|
| Chainguard | python-3.13 | 0 | 3.13.12-r3 |
| Chainguard | python-3.14 | 0 | 3.14.3-r3 |
| Chainguard | python-3.14-base-dev | 0 | 3.14.3-r3 |
| Chainguard | python-3.14-doc | 0 | 3.14.3-r3 |
| Chainguard | python-3.14-jit | 0 | 3.14.3-r3 |
| Chainguard | python-3.14-privileged-netbindservice | 0 | 3.14.3-r3 |
| Chainguard | python-3.14-tk | 0 | 3.14.3-r3 |
| Chainguard | python-3.14t | 0 | 3.14.3-r3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | python311-core | 0 | 3.11.15-150600.3.53.1 |
| SUSE:Linux Enterprise Module for Python 3 15 SP7 | python311 | 0 | 3.11.15-150600.3.53.1 |
| SUSE:Linux Enterprise Module for Python 3 15 SP7 | python311-core | 0 | 3.11.15-150600.3.53.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | python311 | 0 | 3.11.15-150600.3.53.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | python311-core | 0 | 3.11.15-150600.3.53.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | python311 | 0 | 3.11.15-150600.3.53.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | python311-core | 0 | 3.11.15-150600.3.53.1 |
| Wolfi | python-3.13 | 0 | 3.13.12-r3 |
| Wolfi | python-3.14 | 0 | 3.14.3-r3 |
| Wolfi | python-3.14-base-dev | 0 | 3.14.3-r3 |
| Wolfi | python-3.14-doc | 0 | 3.14.3-r3 |
| Wolfi | python-3.14-jit | 0 | 3.14.3-r3 |
| Wolfi | python-3.14-privileged-netbindservice | 0 | 3.14.3-r3 |
| Wolfi | python-3.14-tk | 0 | 3.14.3-r3 |
| Wolfi | python-3.14t | 0 | 3.14.3-r3 |
| openSUSE:Leap 15.6 | python311 | 0 | 3.11.15-150600.3.53.1 |
| openSUSE:Leap 15.6 | python311-core | 0 | 3.11.15-150600.3.53.1 |
| openSUSE:Leap 15.6 | python311-documentation | 0 | 3.11.15-150600.3.53.1 |
| openSUSE:Leap 15.6 | python39 | 0 | 3.9.25-150300.4.96.1 |
| openSUSE:Leap 15.6 | python39-core | 0 | 3.9.25-150300.4.96.1 |
| openSUSE:Leap 15.6 | python39-documentation | 0 | 3.9.25-150300.4.96.1 |
| openSUSE:Leap 16.0 | python313 | 0 | 3.13.13-160000.1.1 |
| openSUSE:Leap 16.0 | python313-core | 0 | 3.13.13-160000.1.1 |
| openSUSE:Leap 16.0 | python313-documentation | 0 | 3.13.13-160000.1.1 |
| openSUSE:Leap 16.0 | python313-nogil | 0 | 3.13.13-160000.1.1 |
| openSUSE:Leap 16.0 | python313-nogil-nogil-core | 0 | 3.13.13-160000.1.1 |
| openSUSE:Tumbleweed | python310 | 0 | 3.10.20-2.1 |
| openSUSE:Tumbleweed | python311 | 0 | 3.11.15-2.1 |
| openSUSE:Tumbleweed | python312 | 0 | 3.12.13-2.1 |
| openSUSE:Tumbleweed | python313 | 0 | 3.13.12-2.1 |
| openSUSE:Tumbleweed | python314 | 0 | 3.14.3-3.1 |
| openSUSE:Tumbleweed | python315 | 0 | 3.15.0~a8-1.1 |
Related vulnerabilities
- CVE-2026-4519 The webbrowser.open() API would accept leading dashes in the URL which could be handled… Also affects python-3.13
- CVE-2026-4224 When an Expat parser with a registered ElementDeclHandler parses an inline document type… Also affects python-3.13
- CVE-2026-3644 The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was… Also affects python-3.13
- CVE-2026-1299 The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines… Also affects python-3.13
- CVE-2026-0672 When using http.cookies.Morsel, user-controlled cookie values and parameters can allow… Also affects python-3.13
- CVE-2026-0865 User-controlled header names and values containing newlines can allow injecting HTTP… Also affects python-3.13
- CVE-2025-11468 When folding a long comment in an email header containing exclusively unfoldable… Also affects python-3.13
- CVE-2025-15282 User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers… Also affects python-3.13