CVE-2026-2297
EPSS 0.01%SourcelessFileLoader does not use io.open_code()
發布日:2026/3/4修改日:2026/5/16
描述
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.
受影響套件(7)
- Bitnami/pythonfrom 0, < 3.15.0
- Bitnami/python-minfrom 0, < 3.15.0
- Debian/pypy3from 0
- Debian/python3.11from 0
- Debian/python3.13from 0, < 3.13.5-2+deb13u1
- Debian/python3.14from 0, < 3.14.3-4
- Debian/python3.9from 0, < 3.9.2-1+deb11u7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
參考連結(8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-2297
- WEBhttps://github.com/python/cpython/commit/482d6f8bdba9da3725d272e8bb4a2d25fb6a603e
- WEBhttps://github.com/python/cpython/commit/a51b1b512de1d56b3714b65628a2eae2b07e535e
- WEBhttps://github.com/python/cpython/commit/e58e9802b9bec5cdbf48fc9bf1da5f4fda482e86
- WEBhttps://github.com/python/cpython/issues/145506
- WEBhttps://github.com/python/cpython/pull/145507
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2026-2297
- WEBhttp://www.openwall.com/lists/oss-security/2026/03/05/6