Summary
This update for python311 fixes the following issues:
- CVE-2025-13462: incorrect parsing of TarInfo header when GNU long name and type AREGTYPE are combined (bsc#1259611).
- CVE-2026-0864: improper handling of line-ending characters can lead to configuration file injection when the
`configparser` module is used (bsc#1269066).
- CVE-2026-1502: HTTP client proxy tunnel headers not validated for CR/LF (bsc#1261969).
- CVE-2026-2297: cpython: incorrectly handled hook in FileLoader can lead to validation bypass (bsc#1259240).
- CVE-2026-3276: quadratic complexity in `unicodedata.normalize()` can lead to DoS when processing specially crafted
Unicode input (bsc#1267581).
- 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-4360: in the Tarfile.extract() function, the filter parameter is not passed properly when extracting
hardlinks (bsc#1269959).
- 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).
- CVE-2026-4786: Incomplete mitigation of %action expansion for command injection to webbrowser.open() (bsc#1262319).
- CVE-2026-6100: Arbitrary code execution or information disclosure via use-after-free in decompression modules
(bsc#1262098).
- CVE-2026-7210: `xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding
protection (bsc#1264962).
- CVE-2026-7774: `tarfile.data_filter` path traversal bypass allows writing outside the extraction directory
(bsc#1267821).
- CVE-2026-8328: `ftpcp()` does not use actual peer address and trusts server-supplied PASV host address (bsc#1265268).
- CVE-2026-9669: crafted input can cause a stack buffer overflow (bsc#1267974).
- CVE-2026-11940: tarfile extraction filter bypass via a crafted archive allows escaping the destination directory and
enables arbitrary file reads and writes (bsc#1268977).
- CVE-2026-11972: infinite loop due to improper EOF handling in the tarfile module streaming mode can lead to DoS
(bsc#1269788).
- CVE-2026-15308: Incremental HTMLParser allows CPU-exhaustion DoS via repeated unterminated markup declarations
(bsc#1271192).
- CVE-2026-15806: urllib.request.HTTPPasswordMgr credentials for one URL scheme sent over another
scheme (bsc#1276223).
- CVE-2026-17084: StringPrep algorithm considered Unicode codepoint attributes outside Unicode 3.2.0 (bsc#1276226).
Changes for python311:
- Update to 3.11.16:
- Build
- gh-153438: Update Windows build and installer tooling and
documentation to use the current download URL for
nuget.exe.
- Library
- gh-109638: Fix exponential time in csv.Sniffer.sniff() for
a sample which contains many quote characters. A doubled
quote character is now also detected in a field which
contains the delimiter or a line break.
- gh-98820: Fix quadratic time in csv.Sniffer.sniff() for
a sample which contains quoted fields, in particular for
a single column of quoted fields.
- gh-149231: In tomllib, the number of parts in TOML keys is
now limited.
- gh-146083: Update bundled libexpat to version 2.7.5.
- gh-141707: Don't change tarfile.TarInfo type from AREGTYPE
to DIRTYPE when parsing GNU long name or link headers
(bsc#1259611, CVE-2025-13462).
- gh-90949: Add
SetBillionLaughsAttackProtectionActivationThreshold() and
SetBillionLaughsAttackProtectionMaximumAmplification() to
xmlparser objects to tune protections against billion
laughs attacks. Patch by B�n�dikt Tran.
- gh-100372: ssl.SSLContext.load_verify_locations() no longer
incorrectly accepts some cases of trailing data when
parsing DER.
- Security
- gh-155558: Update bundled libexpat to version 2.8.3 for the
fix to CVE-2026-72522.
- gh-153030: Fixed quadratic complexity in incremental
parsing of long unterminated constructs (such as tags or
comments) in html.parser.HTMLParser, which could be
exploited for a denial of service (bsc#1271192,
CVE-2026-15308).
- gh-152674: The xml.etree.ElementTree.Element methods
findall(), iterfind() and find() avoid quadratic behavior
when using XPath index predicates ([1], [last()],
[last()-N]) on XML documents with many same-tag siblings.
- gh-152216: Update bundled libexpat to version 2.8.2.
- gh-151987: The tarfile.TarFile.extract() method now applies
the given filter when it extracts a link target from the
archive as a fallback (bsc#1269959, CVE-2026-4360).
- gh-151981: In tarfile, seeking a stream now stops when end
of the stream is reached (bsc#1269788, CVE-2026-11972).
- gh-151544: Modules/Setup.local is no longer used as
a landmark to discover whether Python is running in
a source tree, as it could potentially affect actual
installs. The pybuilddir.txt file is now the sole indicator
of running in a source tree.
- gh-151558: Fixed an vulnerability in the tarfile data and
tar extraction filters where crafted archives could create
a symlink pointing outside the destination directory. This
was a bypass of CVE-2025-4330 (bsc#1268977,
CVE-2026-11940).
- gh-150599: Fix a possible stack buffer overflow in bz2 when
a bz2.BZ2Decompressor is reused after a decompression
error. The decompressor now becomes unusable after libbz2
reports an error (bsc#1267974, CVE-2026-9669).
- gh-150743: http.client now limits the number of
chunked-response trailer lines it will read to 100, and the
number of interim (1xx) responses it will skip to 100.
A malicious or broken server could previously stream
trailer lines or 100 Continue responses forever, hanging
the client even when a socket timeout was in use. Reported
by @YLChen-007 via GHSA-w4q2-g22w-6fr4.
- gh-149698: Update bundled libexpat to version 2.8.1 for the
fix for CVE-2026-45186.
- gh-87451: The ftplib module's undocumented ftpcp function
no longer trusts the IPv4 address value returned from the
source server in respon
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLE Micro 6.1 Linux Micro 6.1 | python311 | 3.11.16-slfo.1.1_1.1 |
| SUSE · SLE Micro 6.1 Linux Micro 6.1 | python311-core | 3.11.16-slfo.1.1_1.1 |
Vulnerabilities 24
-
Critical 9.1
Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure
Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError` and the decompression instance is re-used. This scenario can be triggered if the process is under …
-
High 8.7
Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
-
High 8.2
tarfile opened in streaming mode mishandles EOF
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
-
High 8.2
bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow
bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor, crafted input could cause the decompressor to resume from an invalid internal state and perform out…
-
High 7.8
tarfile extraction filter bypass allows escaping the destination directory
tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself. The extraction fallback validated the symlink at it's archived location but re…
-
High 7.5
Extraction filter bypass for linking outside extraction directory
Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives u…
-
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().
-
High 7.0
Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()
Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.
-
Medium 6.9
tarfile.data_filter path traversal bypass allows writing outside the extraction directory
tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extract…
-
Medium 6.3
Potential DoS via quadratic complexity in unicodedata.normalize()
unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining characters with alternating Canonical Combining Class values. This affects all normalization forms.
-
Medium 6.3
The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or l…
-
Medium 6.2
libexpat before 2.8.3 has an out-of-bounds read and resultant infinite loop because low surrogates are treated the same…
-
Medium 6.0
`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching
The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials …
-
Medium 6.0
stringprep.map_table_b2() deviates from RFC 3454 Table B.2
The "stringprep" module didn't process characters from RFC 3454 tables B.2 or B.3 correctly: the latest Unicode codepoint attributes were used instead of the specified Unicode 3.2.0. This behavior would cause mismatches when processing domain names using IDNA…
-
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
FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address
The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv() was patched to replace server-supplied PASV host addresses with the actual peer address (getpeername()[0]), ftpcp() still calls parse227() directly and passes…
-
Medium 5.7
HTTP client proxy tunnel headers not validated for CR/LF
CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
-
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.
-
Medium 5.3
A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode. The…
-
Medium 4.1
Configuration Injection via Carriage Return (\r) in write() method
When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.
-
Low 2.9
In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service vi…
-
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 2.0
Tarfile.extract() doesn't fully respect filter parameter
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='…
References
-
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/1260026
-
report
https://bugzilla.suse.com/1261969
-
report
https://bugzilla.suse.com/1262098
-
report
https://bugzilla.suse.com/1262319
-
report
https://bugzilla.suse.com/1264962
-
report
https://bugzilla.suse.com/1265268
-
report
https://bugzilla.suse.com/1267581
-
report
https://bugzilla.suse.com/1267821
-
report
https://bugzilla.suse.com/1267974
-
report
https://bugzilla.suse.com/1268977
-
report
https://bugzilla.suse.com/1269066
-
report
https://bugzilla.suse.com/1269788
-
report
https://bugzilla.suse.com/1269959
-
report
https://bugzilla.suse.com/1271192
-
report
https://bugzilla.suse.com/1276223
-
report
https://bugzilla.suse.com/1276226
-
web
https://www.suse.com/security/cve/CVE-2021-4189
-
web
https://www.suse.com/security/cve/CVE-2025-13462
-
web
https://www.suse.com/security/cve/CVE-2025-4330
-
web
https://www.suse.com/security/cve/CVE-2026-0864
-
web
https://www.suse.com/security/cve/CVE-2026-11940
-
web
https://www.suse.com/security/cve/CVE-2026-11972
-
web
https://www.suse.com/security/cve/CVE-2026-1502
-
web
https://www.suse.com/security/cve/CVE-2026-15308
-
web
https://www.suse.com/security/cve/CVE-2026-15806
-
web
https://www.suse.com/security/cve/CVE-2026-17084
-
web
https://www.suse.com/security/cve/CVE-2026-2297
-
web
https://www.suse.com/security/cve/CVE-2026-3276
-
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-4360
-
web
https://www.suse.com/security/cve/CVE-2026-45186
-
web
https://www.suse.com/security/cve/CVE-2026-4519
-
web
https://www.suse.com/security/cve/CVE-2026-4786
-
web
https://www.suse.com/security/cve/CVE-2026-6100