Summary
This update for python fixes the following issues:
- 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 5
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.6 | python | 2.7.18-150000.102.1 |
| openSUSE · Leap 15.6 | python-base | 2.7.18-150000.102.1 |
| openSUSE · Leap 15.6 | python-doc | 2.7.18-150000.102.1 |
| SUSE · SLES 15 SP7 Linux Enterprise Module for Package Hub 15 SP7 | python | 2.7.18-150000.102.1 |
| SUSE · SLES 15 SP7 Linux Enterprise Module for Package Hub 15 SP7 | python-base | 2.7.18-150000.102.1 |
Vulnerabilities 4
-
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.
References
-
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
-
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-2026-0672
-
web
https://www.suse.com/security/cve/CVE-2026-0865