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.
Overview
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.
- Published
- 3/4/2026
- Last modified
- 11/24/2026
- CVE assigner
- Not available
- NVD analysis
- Analyzed
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
python python | < 3.10.21 | Verify advisory | Source |
python python | ≥ 3.11.0, < 3.11.16 | Verify advisory | Source |
python python | ≥ 3.13.0, < 3.13.13 | Verify advisory | Source |
python python | ≥ 3.14.0, < 3.14.4 | Verify advisory | Source |
python python | 3.15.0 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
CPython Python Software Foundation | < 3.10.21 | Verify advisory | Source |
CPython Python Software Foundation | ≥ 3.11.0, < 3.11.16 | Verify advisory | Source |
CPython Python Software Foundation | ≥ 3.12.0, < 3.12.14 | Verify advisory | Source |
CPython Python Software Foundation | ≥ 3.13.0, < 3.13.13 | Verify advisory | Source |
CPython Python Software Foundation | ≥ 3.14.0, < 3.14.4 | Verify advisory | Source |
CPython Python Software Foundation | ≥ 3.15.0a1, < 3.15.0a7 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
5.7 · Medium CVSS 4.0
Scored by cna@python.org
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
5.5 · Medium CVSS 3.1
Scored by nvd@nist.gov
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.