CVE-2026-0864
published medium CVSS 4.0 · 4.1Configuration Injection via Carriage Return (\r) in write() method
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.10.21 · 3.11.0 to < 3.11.16 · 3.12.0 to < 3.12.14 · 3.13.0 to < 3.13.15 · 3.14.0 to < 3.14.7 · 3.15.0a1 to < 3.15.0b4 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1953 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1954 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1963 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1964 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0aarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1999 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.21 | python3 | Fixed | 3.12.14-r0 | Package fix record |
| Alpine Linux | v3.22 | python3 | Fixed | 3.12.14-r0 | Package fix record |
| Alpine Linux | v3.23 | python3 | Fixed | 3.12.14-r0 | Package fix record |
| Alpine Linux | v3.24 | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0ppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0s390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0x86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bits390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bitx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bits390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bitx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythons390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bits390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bitx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-bases390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-basex86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bits390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bitx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursess390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demos390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demox86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-devels390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-docnoarch | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-doc-pdfnoarch | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbms390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idles390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idlex86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tks390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlaarch64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlppc64le | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmls390x | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlx86_64 | Advisory build | 2.7.18-33.82.1 | SUSE-SU-2026:3862-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3aarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3ppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3s390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3x86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-bases390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-basex86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursess390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-devels390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tks390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseaarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-bases390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-basex86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develaarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-devels390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develx86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0aarch64 | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0ppc64le | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0s390x | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.10.21 (affected · python)3.11.0 to < 3.11.16 (affected · python)3.12.0 to < 3.12.14 (affected · python)3.13.0 to < 3.13.15 (affected · python)3.14.0 to < 3.14.7 (affected · python)3.15.0a1 to < 3.15.0b4 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
10- https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
- https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd
- https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908
- https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
- 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/issues/143927
- https://github.com/python/cpython/pull/151559
- https://mail.python.org/archives/list/[email protected]/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
Provider assertions
2PSF · cna
Configuration Injection via Carriage Return (\r) in write() method
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 08d4faeb94d96f57765344ca83f7f890e3494bcd3ff09ba51b8886af5c9c6cdf
- Ingested
- 23 Sep 2026, 08:59:58 UTC
- Source record
- Official CVE record