Live threats

All CVEs / Python

CVE-2026-2297Python

Medium 5.7

Priority
34
CVSS 4.0
5.7
EPSS
—
Auth required
Yes
Published
Mar 4, 2026
Updated
Nov 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-668
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.

Affected products (CPE)

VendorProductVersions
pythonpython< 3.10.21
pythonpython≥ 3.11.0 < 3.11.16
pythonpython≥ 3.13.0 < 3.13.13
pythonpython≥ 3.14.0 < 3.14.4
pythonpython3.15.0
pythonpython3.15.0
pythonpython3.15.0
pythonpython3.15.0
pythonpython3.15.0
pythonpython3.15.0

Official advisories

Also: SUSE (+21), Red Hat (+6)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.