Summary
This update for python313 fixes the following issues:
- Update to v3.13.13
- CVE-2025-13462: incorrect parsing of TarInfo header when GNU long name and type AREGTYPE are combined (bsc#1259611).
- 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 2
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 | python313 | 3.13.13-150700.4.45.1 |
| SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 | python313-core | 3.13.13-150700.4.45.1 |
Vulnerabilities 7
-
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.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.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.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 …
-
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/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-13462
-
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