CVE details
CVE-2026-0864
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.
Affected ports (3)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| lang/linux-rl9-python3 | linux-rl9-python39 | 3.9.25 | unaddressed | emulation@FreeBSD.org |
| lang/python27 | python27 | 2.7.18_5 | unaddressed | python@FreeBSD.org |
| lang/python315 | python315 | 3.15.0 | unaddressed | python@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>linux-rl9-python39</name>
<range><lt>3.10.21</lt></range>
</package>
<package>
<name>python27</name>
<range><lt>3.10.21</lt></range>
</package>
<package>
<name>python315</name>
<range><lt>3.10.21</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-0864</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-0864</url>
</references>
<dates>
<discovery>2026-06-23</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>