CVE-2026-0864
Published: June 25, 2026Last modified: July 2, 2026
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.
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | python3 | Fixed (3.11.15-r5) |
| 25 LTS | python3 | Fixed (3.12.13-r5) | |
| Stream | python3 | Fixed (3.14.5-r4) | |
| Hardened Containers | 23 LTS | python3 | Unknown (3.11.3-r0) |
| 25 LTS | python3 | Unknown (3.12.10-r1) | |
| Stream | python3 | Unknown (3.11.4-r0) |
References
- https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
- 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/issues/143927
- https://github.com/python/cpython/pull/151559
- https://mail.python.org/archives/list/[email protected]/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/