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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"python:python": [
"< 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",
">= 3.11.0, < 3.11.16",
">= 3.13.0, < 3.13.13",
">= 3.14.0, < 3.14.4"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-2297",
"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"
}
]
}