Security update for python311
| Announcement ID: | SUSE-SU-2026:1117-1 |
|---|---|
| Release Date: | 2026-03-27T11:34:37Z |
| Rating: | important |
| References: | |
| Cross-References: | |
| CVSS scores: |
|
| Affected Products: |
|
An update that solves 10 vulnerabilities can now be installed.
Description:
This update for python311 fixes the following issues:
Update to python 3.11.15:
- CVE-2025-6075: quadratic complexity in os.path.expandvars() (bsc#1252974).
- CVE-2025-11468: header injection with carefully crafted inputs (bsc#1257029).
- CVE-2025-12084: quadratic complexity in xml.minidom node ID cache clearing (bsc#1254997).
- CVE-2025-13836: potential memory denial of service in the http.client module (bsc#1254400).
- CVE-2025-13837: potential memory denial of service in the plistlib module (bsc#1254401).
- CVE-2025-15282: user-controlled data URLs parsed may allow injecting headers (bsc#1257046).
- CVE-2026-0672: control characters in http.cookies.Morsel fields and values (bsc#1257031).
- CVE-2026-0865: C0 control characters within wsgiref.headers.Headers fields, values, and parameters (bsc#1257042).
- CVE-2026-1299: header injection when an email is serialized due to improper newline quoting (bsc#1257181).
- CVE-2026-2297: validation bypass via incorrectly handled hook in FileLoader (bsc#1259240).
Changelog:
- gh-144125: BytesGenerator will now refuse to serialize (write) headers that are unsafely folded or delimited; see verify_generated_headers. (Contributed by Bas Bloemsaat and Petr Viktorin in gh-121650) (bsc#1257181, CVE-2026-1299).
- gh-143935: Fixed a bug in the folding of comments when flattening an email message using a modern email policy. Comments consisting of a very long sequence of non-foldable characters could trigger a forced line wrap that omitted the required leading space on the continuation line, causing the remainder of the comment to be interpreted as a new header field. This enabled header injection with carefully crafted inputs (bsc#1257029 CVE-2025-11468).
- gh-143925: Reject control characters in data: URL media types (bsc#1257046, CVE-2025-15282).
- gh-143919: Reject control characters in http.cookies.Morsel fields and values (bsc#1257031, CVE-2026-0672).
- gh-143916: Reject C0 control characters within wsgiref.headers.Headers fields, values, and parameters (bsc#1257042, CVE-2026-0865).
- gh-142145: Remove quadratic behavior in xml.minidom node ID cache clearing. In order to do this without breaking existing users, we also add the ownerDocument attribute to xml.dom.minidom elements and attributes created by directly instantiating the Element or Attr class. Note that this way of creating nodes is not supported; creator functions like xml.dom.Document.documentElement() should be used instead (bsc#1254997, CVE-2025-12084).
- gh-137836: Add support of the "plaintext" element, RAWTEXT elements "xmp", "iframe", "noembed" and "noframes", and optionally RAWTEXT element "noscript" in html.parser.HTMLParser.
- gh-136063: email.message: ensure linear complexity for legacy HTTP parameters parsing. Patch by Bénédikt Tran.
- gh-136065: Fix quadratic complexity in os.path.expandvars() (bsc#1252974, CVE-2025-6075).
- gh-119451: Fix a potential memory denial of service in the http.client module. When connecting to a malicious server, it could cause an arbitrary amount of memory to be allocated. This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes (CVE-2025-13836, bsc#1254400).
- gh-119452: Fix a potential memory denial of service in the http.server module. When a malicious user is connected to the CGI server on Windows, it could cause an arbitrary amount of memory to be allocated. This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.
- gh-119342: Fix a potential memory denial of service in the plistlib module. When reading a Plist file received from untrusted source, it could cause an arbitrary amount of memory to be allocated. This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes (bsc#1254401, CVE-2025-13837).
- Library
- gh-144833: Fixed a use-after-free in ssl when SSL_new() returns NULL in newPySSLSocket(). The error was reported via a dangling pointer after the object had already been freed.
- gh-144363: Update bundled libexpat to 2.7.4
- gh-90949: Add SetAllocTrackerActivationThreshold() and SetAllocTrackerMaximumAmplification() to xmlparser objects to prevent use of disproportional amounts of dynamic memory from within an Expat parser. Patch by Bénédikt Tran.
- Core and Builtins
- gh-120384: Fix an array out of bounds crash in list_ass_subscript, which could be invoked via some specificly tailored input: including concurrent modification of a list object, where one thread assigns a slice and another clears it.
- gh-120298: Fix use-after free in list_richcompare_impl which can be invoked via some specificly tailored evil input.
Patch Instructions:
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
-
openSUSE Leap 15.4
zypper in -t patch SUSE-2026-1117=1 -
Public Cloud Module 15-SP4
zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-SP4-2026-1117=1 -
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4
zypper in -t patch SUSE-SLE-Product-HPC-15-SP4-ESPOS-2026-1117=1 -
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4
zypper in -t patch SUSE-SLE-Product-HPC-15-SP4-LTSS-2026-1117=1 -
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP5
zypper in -t patch SUSE-SLE-Product-HPC-15-SP5-ESPOS-2026-1117=1 -
SUSE Linux Enterprise High Performance Computing LTSS 15 SP5
zypper in -t patch SUSE-SLE-Product-HPC-15-SP5-LTSS-2026-1117=1 -
SUSE Linux Enterprise Server 15 SP4 LTSS
zypper in -t patch SUSE-SLE-Product-SLES-15-SP4-LTSS-2026-1117=1 -
SUSE Linux Enterprise Server 15 SP5 LTSS
zypper in -t patch SUSE-SLE-Product-SLES-15-SP5-LTSS-2026-1117=1 -
SUSE Linux Enterprise Server for SAP Applications 15 SP4
zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP4-2026-1117=1 -
SUSE Linux Enterprise Server for SAP Applications 15 SP5
zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP5-2026-1117=1
Package List:
-
openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 i586)
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-core-debugsource-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-testsuite-debuginfo-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-testsuite-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
-
openSUSE Leap 15.4 (x86_64)
- libpython3_11-1_0-32bit-3.11.15-150400.9.80.1
- python311-base-32bit-debuginfo-3.11.15-150400.9.80.1
- python311-32bit-debuginfo-3.11.15-150400.9.80.1
- libpython3_11-1_0-32bit-debuginfo-3.11.15-150400.9.80.1
- python311-base-32bit-3.11.15-150400.9.80.1
- python311-32bit-3.11.15-150400.9.80.1
-
openSUSE Leap 15.4 (aarch64_ilp32)
- python311-base-64bit-debuginfo-3.11.15-150400.9.80.1
- libpython3_11-1_0-64bit-3.11.15-150400.9.80.1
- libpython3_11-1_0-64bit-debuginfo-3.11.15-150400.9.80.1
- python311-base-64bit-3.11.15-150400.9.80.1
- python311-64bit-debuginfo-3.11.15-150400.9.80.1
- python311-64bit-3.11.15-150400.9.80.1
-
Public Cloud Module 15-SP4 (aarch64 ppc64le s390x x86_64)
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (aarch64 x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (aarch64 x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP5 (aarch64 x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise High Performance Computing LTSS 15 SP5 (aarch64 x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise Server 15 SP4 LTSS (aarch64 ppc64le s390x x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise Server 15 SP5 LTSS (aarch64 ppc64le s390x x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (ppc64le x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
-
SUSE Linux Enterprise Server for SAP Applications 15 SP5 (ppc64le x86_64)
- python311-core-debugsource-3.11.15-150400.9.80.1
- python311-doc-devhelp-3.11.15-150400.9.80.1
- python311-curses-debuginfo-3.11.15-150400.9.80.1
- python311-3.11.15-150400.9.80.1
- libpython3_11-1_0-3.11.15-150400.9.80.1
- python311-tk-3.11.15-150400.9.80.1
- python311-devel-3.11.15-150400.9.80.1
- python311-debuginfo-3.11.15-150400.9.80.1
- python311-dbm-3.11.15-150400.9.80.1
- python311-tk-debuginfo-3.11.15-150400.9.80.1
- python311-tools-3.11.15-150400.9.80.1
- python311-idle-3.11.15-150400.9.80.1
- libpython3_11-1_0-debuginfo-3.11.15-150400.9.80.1
- python311-base-3.11.15-150400.9.80.1
- python311-debugsource-3.11.15-150400.9.80.1
- python311-curses-3.11.15-150400.9.80.1
- python311-dbm-debuginfo-3.11.15-150400.9.80.1
- python311-base-debuginfo-3.11.15-150400.9.80.1
- python311-doc-3.11.15-150400.9.80.1
References:
- https://www.suse.com/security/cve/CVE-2025-11468.html
- https://www.suse.com/security/cve/CVE-2025-12084.html
- https://www.suse.com/security/cve/CVE-2025-13836.html
- https://www.suse.com/security/cve/CVE-2025-13837.html
- https://www.suse.com/security/cve/CVE-2025-15282.html
- https://www.suse.com/security/cve/CVE-2025-6075.html
- https://www.suse.com/security/cve/CVE-2026-0672.html
- https://www.suse.com/security/cve/CVE-2026-0865.html
- https://www.suse.com/security/cve/CVE-2026-1299.html
- https://www.suse.com/security/cve/CVE-2026-2297.html
- https://bugzilla.suse.com/show_bug.cgi?id=1252974
- https://bugzilla.suse.com/show_bug.cgi?id=1254400
- https://bugzilla.suse.com/show_bug.cgi?id=1254401
- https://bugzilla.suse.com/show_bug.cgi?id=1254997
- https://bugzilla.suse.com/show_bug.cgi?id=1257029
- https://bugzilla.suse.com/show_bug.cgi?id=1257031
- https://bugzilla.suse.com/show_bug.cgi?id=1257042
- https://bugzilla.suse.com/show_bug.cgi?id=1257046
- https://bugzilla.suse.com/show_bug.cgi?id=1257181
- https://bugzilla.suse.com/show_bug.cgi?id=1259240