CVE-2026-2297: fallo de gravedad media en Python Software Foundation CPython
SourcelessFileLoader does not use io.open_code()
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
13Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 5.7epss 0.2%
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.
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
Productos afectados
Python Software Foundation · CPythonCVEs relacionadas — Python Software Foundation CPython
En el mismo producto, de las más peligrosas a las menos.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-6232HIGHRegular-expression DoS when parsing TarFile headersEPSS 2.2%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.6%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%
Referencias
https://github.com/python/cpython/commit/482d6f8bdba9da3725d272e8bb4a2d25fb6a603ehttps://github.com/python/cpython/commit/69ddd9bb2cc4bd69b1565647c18659c6a789ccd9https://github.com/python/cpython/commit/876858c9f65d9ab656c7fa639f268ce7856d89ddhttps://github.com/python/cpython/commit/a51b1b512de1d56b3714b65628a2eae2b07e535ehttps://github.com/python/cpython/commit/c70adad78caeeea33f92f560ecb93331ca11bf66https://github.com/python/cpython/commit/e58e9802b9bec5cdbf48fc9bf1da5f4fda482e86https://github.com/python/cpython/issues/145506https://github.com/python/cpython/pull/145507http://www.openwall.com/lists/oss-security/2026/03/05/6