CVE-2026-0864
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 4.1CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- v4.0•MEDIUM•Score: 4.1CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/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
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS Trends
Current EPSS score: 0.13%• Percentile: 3%
Techniques & Countermeasures
- CWE-74•Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Affected Systems
- alpine•python3
< 3.12.14-r0 | < 3.12.14-r0 | < 3.12.14-r0 | < 3.14.7-r0
- chainguard•python-3.10
< 3.10.20-r10
- chainguard•python-3.11
< 3.11.15-r8
- chainguard•python-3.12
< 3.12.13-r10
- chainguard•python-3.13
< 3.13.14-r2
- chainguard•python-3.14
< 3.14.6-r3
- wolfi•python-3.10
< 3.10.20-r10
- wolfi•python-3.11
< 3.11.15-r8
- wolfi•python-3.12
< 3.12.13-r10
- wolfi•python-3.13
< 3.13.14-r2
- wolfi•python-3.14
< 3.14.6-r3
- debian•pypy3
all | all | all | all
- debian•python2.7
all
- debian•python3.11
all
- debian•python3.13
all | all | < 3.13.5-2+deb13u5 | < 3.13.15-1
- debian•python3.14
all | < 3.14.7-1
- debian•python3.9
all
- ubuntu•python2.7
all
- ubuntu•python3.10
all
- ubuntu•python3.11
all | all
- ubuntu•python3.12
all
- ubuntu•python3.13
all
- ubuntu•python3.14
all | all
- ubuntu•python3.4
all
- ubuntu•python3.5
all
- ubuntu•python3.6
all
- ubuntu•python3.7
all
- ubuntu•python3.8
all
- ubuntu•python3.9
all
- python software foundation•cpython
< 3.15.0 | < 3.13.15 | < 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.15 | ≥ 3.14.0, < 3.14.7 | ≥ 3.15.0a1, < 3.15.0b4
- python•python
< 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.15 | ≥ 3.14.0, < 3.14.7 | 3.15.0:alpha1 | 3.15.0:alpha2 | 3.15.0:alpha3 | 3.15.0:alpha4 | 3.15.0:alpha5 | 3.15.0:alpha6 | 3.15.0:alpha7 | 3.15.0:alpha8 | 3.15.0:beta1 | 3.15.0:beta2 | 3.15.0:beta3
References (17)
- https://github.com/python/cpython/pull/151559
- https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
- https://github.com/python/cpython/issues/143927
- https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
- https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
- https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
- https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
- https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6
- https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd
- https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908
- https://ubuntu.com/security/CVE-2026-0864
- https://www.cve.org/CVERecord?id=CVE-2026-0864
- https://security-tracker.debian.org/tracker/CVE-2026-0864
- https://security.alpinelinux.org/vuln/CVE-2026-0864
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0864.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-0864
- https://github.com/python/cpython