Summary
This update for python311 fixes the following issues:
- Updated to Python 3.11.15
- CVE-2025-6075: If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables (bsc#1252974).
- CVE-2025-11468: header injection when folding a long comment in an email header containing exclusively unfoldable characters (bsc#1257029).
- CVE-2025-12084: cpython: python: cpython: Quadratic algorithm in xml.dom.minidom leads to denial of service (bsc#1254997).
- CVE-2025-13462: incorrect parsing of TarInfo header when GNU long name and type AREGTYPE are combined (bsc#1259611).
- CVE-2025-13836: When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length (bsc#1254400).
- CVE-2025-13837: When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues (bsc#1254401).
- CVE-2025-15282: user-controlled data URLs parsed may allow injecting headers (bsc#1257046).
- CVE-2026-0672: HTTP header injection via user-controlled cookie values and parameters when using http.cookies.Morsel (bsc#1257031).
- CVE-2026-0865: user-controlled header containing newlines can allow injecting HTTP headers (bsc#1257042).
- CVE-2026-1299: header injection when an email is serialized due to improper newline quoting in `BytesGenerator` (bsc#1257181).
- CVE-2026-2297: cpython: incorrectly handled hook in FileLoader can lead to validation bypass (bsc#1259240).
- CVE-2026-3479: python: improper resource argument validation can allow path traversal (bsc#1259989).
- CVE-2026-3644: incomplete control character validation in http.cookies (bsc#1259734).
- CVE-2026-4224: C stack overflow when parsing XML with deeply nested DTD content models (bsc#1259735).
- CVE-2026-4519: leading dashes in URLs are accepted by the `webbrowser.open()` API and allow for web browser command line option injection (bsc#1260026).
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.6 | python311 | 3.11.15-150600.3.53.1 |
| openSUSE · Leap 15.6 | python311-core | 3.11.15-150600.3.53.1 |
| openSUSE · Leap 15.6 | python311-documentation | 3.11.15-150600.3.53.1 |
| SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 | python311-core | 3.11.15-150600.3.53.1 |
| SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 | python311 | 3.11.15-150600.3.53.1 |
| SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 | python311-core | 3.11.15-150600.3.53.1 |
| SUSE · SLES 15 SP6 Linux Enterprise Server 15 SP6-LTSS | python311 | 3.11.15-150600.3.53.1 |
| SUSE · SLES 15 SP6 Linux Enterprise Server 15 SP6-LTSS | python311-core | 3.11.15-150600.3.53.1 |
| SUSE · SLES for SAP 15 SP6 Linux Enterprise Server for SAP Applications 15 SP6 | python311 | 3.11.15-150600.3.53.1 |
| SUSE · SLES for SAP 15 SP6 Linux Enterprise Server for SAP Applications 15 SP6 | python311-core | 3.11.15-150600.3.53.1 |
Vulnerabilities 15
-
High 7.0
webbrowser.open() allows leading dashes in URLs
The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().
-
Medium 6.3
Quadratic complexity in node ID cache clearing
When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.
-
Medium 6.3
Excessive read buffering DoS in http.client
When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS.
-
Medium 6.0
Header injection via newlines in data URL mediatype
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
-
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 6.0
email BytesGenerator header injection due to unquoted newlines
The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing h…
-
Medium 6.0
Incomplete control character validation in http.cookies
The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_o…
-
Medium 6.0
Stack overflow parsing XML with deeply nested DTD content models
When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow occurs.
-
Medium 5.9
wsgiref.headers.Headers allows header newline injection
User-controlled header names and values containing newlines can allow injecting HTTP headers.
-
Medium 5.7
Folding email comments of unfoldable characters doesn't preserve parenthesis
When folding a long comment in an email header containing exclusively unfoldable characters, the parenthesis would not be preserved. This could be used for injecting headers into email messages where addresses are user-controlled and not sanitized.
-
Medium 5.7
SourcelessFileLoader does not use io.open_code()
The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
-
Low 2.1
Out-of-memory when loading Plist
When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues
-
Low 2.0
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile …
-
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.
-
None 0.0
pkgutil.get_data() does not enforce documented restrictions
DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation has been updated to clarify this point. There is no vulnerability in the function if following the i…
References
-
report
https://bugzilla.suse.com/1252974
-
report
https://bugzilla.suse.com/1254400
-
report
https://bugzilla.suse.com/1254401
-
report
https://bugzilla.suse.com/1254997
-
report
https://bugzilla.suse.com/1257029
-
report
https://bugzilla.suse.com/1257031
-
report
https://bugzilla.suse.com/1257042
-
report
https://bugzilla.suse.com/1257046
-
report
https://bugzilla.suse.com/1257181
-
report
https://bugzilla.suse.com/1259240
-
report
https://bugzilla.suse.com/1259611
-
report
https://bugzilla.suse.com/1259734
-
report
https://bugzilla.suse.com/1259735
-
report
https://bugzilla.suse.com/1259989
-
report
https://bugzilla.suse.com/1260026
-
web
https://www.suse.com/security/cve/CVE-2025-11468
-
web
https://www.suse.com/security/cve/CVE-2025-12084
-
web
https://www.suse.com/security/cve/CVE-2025-13462
-
web
https://www.suse.com/security/cve/CVE-2025-13836
-
web
https://www.suse.com/security/cve/CVE-2025-13837
-
web
https://www.suse.com/security/cve/CVE-2025-15282
-
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
-
web
https://www.suse.com/security/cve/CVE-2026-1299
-
web
https://www.suse.com/security/cve/CVE-2026-2297
-
web
https://www.suse.com/security/cve/CVE-2026-3479
-
web
https://www.suse.com/security/cve/CVE-2026-3644
-
web
https://www.suse.com/security/cve/CVE-2026-4224
-
web
https://www.suse.com/security/cve/CVE-2026-4519