原始描述
When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.
受影响的软件
- Python < 3.10.21= 3.15.0≥ 3.13.0 < 3.13.15≥ 3.14.0 < 3.14.7≥ 3.12.0 < 3.12.14≥ 3.11.0 < 3.11.16 修复版本: 3.10.21, 3.13.15, 3.14.7, 3.12.14 精确匹配
详情
- 发布日期
- 2026-06-24
- 最后修改
- 2026-08-13
- CVSS 向量
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N- EPSS(30 天内被利用概率)
- 0.13% (百分位 2)
参考资料
- cve.org/CVE-2026-0864
- nvd.nist.gov/vuln/detail/CVE-2026-0864
- github.com/python/cpython/pull/151559
- mail.python.org/archives/list/[email protected]/thread/CV4NE6AFCRJL7XQOHX7J5TSD...
- github.com/python/cpython/issues/143927
- github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
- github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
- github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
- github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
- github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6
- github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd
- github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。