CVE-2026-0864

Name
CVE-2026-0864
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
cna@python.org https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
cna@python.org https://github.com/python/cpython/issues/143927
cna@python.org https://github.com/python/cpython/pull/151559
cna@python.org https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
cna@python.org https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
cna@python.org https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
cna@python.org https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
cna@python.org https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6
cna@python.org https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd
cna@python.org https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= None < 3.10.21
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.11.0 < 3.11.16
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.12.0 < 3.12.14
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.13.0 < 3.13.15
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.14.0 < 3.14.7
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:* python == None == 3.15.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
python3 edge-main 3.14.7-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.24-main 3.14.7-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.23-main 3.12.14-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.22-main 3.12.14-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.21-main 3.12.14-r0 Natanael Copa <ncopa@alpinelinux.org> fixed