{"id":"JLSEC-2026-1669","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.","modified":"2026-12-01T16:00:02.789469139Z","published":"2026-12-01T15:50:06.474Z","upstream":["CVE-2026-2297"],"database_specific":{"sources":[{"id":"CVE-2026-2297","imported":"2026-12-01T15:11:42.258Z","modified":"2026-11-24T18:18:21.813Z","published":"2026-03-04T23:16:10.757Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-2297","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2297","database_specific":{"status":"Analyzed"},"affected":{"python:python":["\u003c 3.10.21","= 3.15.0-alpha1","= 3.15.0-alpha2","= 3.15.0-alpha3","= 3.15.0-alpha4","= 3.15.0-alpha5","= 3.15.0-alpha6","\u003e= 3.11.0, \u003c 3.11.16","\u003e= 3.13.0, \u003c 3.13.13","\u003e= 3.14.0, \u003c 3.14.4"]}}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/03/05/6"},{"type":"WEB","url":"https://github.com/python/cpython/commit/482d6f8bdba9da3725d272e8bb4a2d25fb6a603e"},{"type":"WEB","url":"https://github.com/python/cpython/commit/69ddd9bb2cc4bd69b1565647c18659c6a789ccd9"},{"type":"WEB","url":"https://github.com/python/cpython/commit/876858c9f65d9ab656c7fa639f268ce7856d89dd"},{"type":"WEB","url":"https://github.com/python/cpython/commit/a51b1b512de1d56b3714b65628a2eae2b07e535e"},{"type":"WEB","url":"https://github.com/python/cpython/commit/c70adad78caeeea33f92f560ecb93331ca11bf66"},{"type":"WEB","url":"https://github.com/python/cpython/commit/e58e9802b9bec5cdbf48fc9bf1da5f4fda482e86"},{"type":"WEB","url":"https://github.com/python/cpython/issues/145506"},{"type":"WEB","url":"https://github.com/python/cpython/pull/145507"}],"affected":[{"package":{"name":"Python_jll","ecosystem":"Julia","purl":"pkg:julia/Python_jll?uuid=93d3a430-8e7c-50da-8e8d-3dfcfb3baf05"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.12.14+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1669.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"NVD"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}