CVE-2026-2297
SourcelessFileLoader does not use io.open_code()
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.220% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 5.7 · published by PSFCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:14.369Z
CVSS 4.0 · 5.7 · published by Ubuntu SecurityCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:47:39.638Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:14.369Z | CVE Program |
| epss | verified | 2026-11-19T16:04:47.776Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:48:17.339Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:58:14.369Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:14.369Z | CVE Program |
Affected versions and configuration
Python Software Foundation CPython; default status: unaffected: 0 to < 3.10.21 [affected; scheme: python]; 3.11.0 to < 3.11.16 [affected; scheme: python]; 3.12.0 to < 3.12.14 [affected; scheme: python]; 3.13.0 to < 3.13.13 [affected; scheme: python]; 3.14.0 to < 3.14.4 [affected; scheme: python]; 3.15.0a1 to < 3.15.0a7 [affected; scheme: python]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://github.com/python/cpython",
"vendor": "Python Software Foundation",
"product": "CPython",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.10.21",
"versionType": "python"
},
{
"status": "affected",
"version": "3.11.0",
"lessThan": "3.11.16",
"versionType": "python"
},
{
"status": "affected",
"version": "3.12.0",
"lessThan": "3.12.14",
"versionType": "python"
},
{
"status": "affected",
"version": "3.13.0",
"lessThan": "3.13.13",
"versionType": "python"
},
{
"status": "affected",
"version": "3.14.0",
"lessThan": "3.14.4",
"versionType": "python"
},
{
"status": "affected",
"version": "3.15.0a1",
"lessThan": "3.15.0a7",
"versionType": "python"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/03/05/6"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-03-05T18:35:25.713Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-2297",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-03-12T14:58:41.472003Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-668",
"description": "CWE-668 Exposure of Resource to Wrong Sphere"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-03-12T14:58:46.051Z"
}
}
]
}Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.13",
"debian": "https://tracker.debian.org/pkg/python3.13",
"source": "https://ubuntu.com/security/cve?package=python3.13",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.13",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.13.14-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.12",
"debian": "https://tracker.debian.org/pkg/python3.12",
"source": "https://ubuntu.com/security/cve?package=python3.12",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.12",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.12.3-1ubuntu0.15",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.11",
"debian": "https://tracker.debian.org/pkg/python3.11",
"source": "https://ubuntu.com/security/cve?package=python3.11",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.11",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.10",
"debian": "https://tracker.debian.org/pkg/python3.10",
"source": "https://ubuntu.com/security/cve?package=python3.10",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.10",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.10.12-1~22.04.16",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | python3.13 | Not a distribution channel | 3.13.14-1 | Official record |
| distribution-package | Ubuntu / noble | python3.12 | security | 3.12.3-1ubuntu0.15 | Official record |
| distribution-package | Ubuntu / jammy | python3.10 | security | 3.10.12-1~22.04.16 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:58:14.369ZArchived source JSON
Source publication: 2026-03-04T22:10:43.297Z
Source modification: 2026-08-13T00:28:17.928ZDocument fingerprint
b2fda44ccadf3a646770abb07e0063fac0e325c92e21f4fcfb81364e90749a62 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T12:47:42.332ZArchived source JSON
Source publication: 2026-03-04T23:16:00.000Z
Source modification: 2026-07-06T13:33:28.720ZDocument fingerprint
bb7302723c34457a69fdc2a92382e7d47a80414860f536b96370ad574d88c3c1 - Ubuntu SecurityConsulted: 2026-11-19T12:47:39.638ZArchived source JSON
Source publication: 2026-03-04T23:16:00.000Z
Source modification: 2026-07-06T13:33:28.720ZDocument fingerprint
787ad98a751d9397055fd9aba44f85639d82b94b21f8649246c4389d48b8c8a2 - Ubuntu SecurityConsulted: 2026-11-19T12:48:17.339ZArchived source JSON
Source publication: 2026-03-04T23:16:00.000Z
Source modification: 2026-07-06T13:33:28.720ZDocument fingerprint
0f3b32f8761b28ed67ab91d723b1baea9873c8569dffdf0d9cf777f1bd4535f6 - Ubuntu SecurityConsulted: 2026-11-19T12:49:00.474ZArchived source JSON
Source publication: 2026-03-04T23:16:00.000Z
Source modification: 2026-07-06T13:33:28.720ZDocument fingerprint
a9044e9218a1f55007e114042caced6241eae91e119becfa310727a96eddb7b5 - FIRST EPSSConsulted: 2026-11-19T16:04:47.776ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
25207a681171a5ea65bb9e40f8b8aae1a61ece7feea538da2c47f10c44512e41
Official status history
- UNKNOWN → PUBLISHED · · evidence