Summary
This update for python fixes the following issues:
- CVE-2025-6075: Fixed performance degradation when using os.path.expandvars() (bsc#1252974).
- CVE-2026-0672: Fixed a HTTP header injection via user-controlled cookie values and parameters when using http.cookies.Morsel. (bsc#1257031)
- CVE-2026-0865: Fixed a bug where a user-controlled header containing newlines can allow injecting HTTP headers. (bsc#1257042)
- CVE-2025-15366: Fixed a bug wherer a user-controlled command can allow additional commands injected using newlines. (bsc#1257044)
- CVE-2025-15367: Fixed control characters which may allow the injection of additional commands. (bsc#1257041)
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS | python | 2.7.18-33.63.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS | python-base | 2.7.18-33.63.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS | python-doc | 2.7.18-33.63.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | python | 2.7.18-33.63.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | python-base | 2.7.18-33.63.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | python-doc | 2.7.18-33.63.1 |
Vulnerabilities 5
-
Medium 6.0
Header injection in http.cookies.Morsel
When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.
-
Medium 5.9
IMAP command injection in user-controlled commands
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
-
Medium 5.9
POP3 command injection in user-controlled commands
The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
-
Medium 5.9
wsgiref.headers.Headers allows header newline injection
User-controlled header names and values containing newlines can allow injecting HTTP headers.
-
Low 1.8
Quadratic complexity in os.path.expandvars() with user-controlled template
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
References
-
report
https://bugzilla.suse.com/1252974
-
report
https://bugzilla.suse.com/1254867
-
report
https://bugzilla.suse.com/1257031
-
report
https://bugzilla.suse.com/1257041
-
report
https://bugzilla.suse.com/1257042
-
report
https://bugzilla.suse.com/1257044
-
report
https://bugzilla.suse.com/1257064
-
web
https://www.suse.com/security/cve/CVE-2025-15366
-
web
https://www.suse.com/security/cve/CVE-2025-15367
-
web
https://www.suse.com/security/cve/CVE-2025-6075
-
web
https://www.suse.com/security/cve/CVE-2026-0672
-
web
https://www.suse.com/security/cve/CVE-2026-0865