CVE Explorer
CVE-2026-2297
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"CPython","repo":"https://github.com/python/cpython","vendor":"Python Software Foundation","versions":[{"lessThan":"3.13.13","status":"affected","version":"0","versionType":"python"},{"lessThan":"3.14.4","status":"affected","version":"3.14.0","versionType":"python"},{"lessThan":"3.15.0a7","status":"affected","version":"3.15.0a1","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.7,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact"…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-668","description":"CWE-668 Exposure of Resource to Wrong Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/adp/1/problemTypes/0/descriptions/0
Source references
8 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/03/05/6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/482d6f8bdba9da3725d272e8bb4a2d25fb6a603e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/2
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/69ddd9bb2cc4bd69b1565647c18659c6a789ccd9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/5
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/876858c9f65d9ab656c7fa639f268ce7856d89dd"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/6
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/a51b1b512de1d56b3714b65628a2eae2b07e535e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/3
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/e58e9802b9bec5cdbf48fc9bf1da5f4fda482e86"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/4
{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/145506"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/0
{"tags":["patch"],"url":"https://github.com/python/cpython/pull/145507"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a3429f6f19f239415eff216fce9a872b9c3118a333a178b05eaf36ff6428fe5a · sha256:b8c40e1fb9ec7e57… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.