CVE-2026-2297
MED 5.5
Summary
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.
Key facts
- Vendor: python
- CVSS 3.1: 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N)
- EPSS (30-day exploitation probability): 0.21%
- Published: 2026-03-04
- Last modified: 2026-11-24
- Weakness: CWE-668
Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.
Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities