Skip to content
OpenAdvisories
High SUSE-SU-2026:3649-1 13 CVEs

Security update for python313

Published Aug 19, 2026 · Updated Aug 21, 2026

Summary

This update for python313 fixes the following issues:

- CVE-2025-15366: user-controlled command can allow additional commands injected using newlines (bsc#1257044).
- CVE-2025-15367: control characters may allow the injection of additional commands (bsc#1257041).
- 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-3219: python-pip: pip doesn't reject concatenated ZIP (bsc#1262429).
- CVE-2026-3276: quadratic complexity in `unicodedata.normalize()` can lead to DoS when processing specially crafted
Unicode input (bsc#1267581).
- CVE-2026-4360: in the Tarfile.extract() function, the filter parameter is not passed properly when extracting
hardlinks (bsc#1269959).
- 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-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).
- Regression in `http.cookies` (bsc#1263083).

Changes for python313:

- Update to 3.13.14:
- Security
- gh-151159: Bumps the OpenSSL version to 3.0.21 on Android.
- 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.
- gh-149835: shutil.move() now resolves symlinks via
os.path.realpath() when checking whether the destination is
inside the source directory, preventing a symlink-based
bypass of that guard.
- 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 response to the PASV command by default,
completing the fix for CVE-2021-4189. As with ftplib.FTP,
the former behavior can be re-enabled by setting the
trust_server_pasv_ipv4_address attribute on the source
ftplib.FTP instance to True. Thanks to Qi Deng at Aurascape
AI for the report (bsc#1265268, CVE-2026-8328)
- gh-149486: tarfile.data_filter() now validates link targets
using the same normalised value that is written to disk,
strips trailing separators from the member name when
resolving a symlink's directory, and rejects link members
that would replace the destination directory itself. This
closes several path-traversal bypasses of the data
extraction filter (bsc#1267821, CVE-2026-7774).
- gh-149079: Fix a potential denial of service in
unicodedata.normalize(). The canonical ordering step of
Unicode normalization used a quadratic-time insertion sort
for reordering combining characters, which could be
exploited with crafted input containing many combining
characters in non-canonical order. Replaced with
a linear-time counting sort for long runs (bsc#1267581,
CVE-2026-3276).
- gh-149018: Improved protection against XML hash-flooding
attacks in xml.parsers.expat and xml.etree.ElementTree when
Python is compiled with libExpat 2.8.0 or later
(CVE-2026-7210, bsc#1264962).
- gh-149017: Update bundled libexpat to version 2.8.0.
- gh-90309: Base64-encode values when embedding cookies to
JavaScript using the http.cookies.BaseCookie.js_output()
method to avoid injection and escaping. (bsc#1262654,
CVE-2026-6019)
- gh-148808: Added buffer boundary check when using nbytes
parameter with
asyncio.AbstractEventLoop.sock_recvfrom_into(). Only
relevant for Windows and the asyncio.ProactorEventLoop.
- gh-148395: Fix a dangling input pointer in
lzma.LZMADecompressor, bz2.BZ2Decompressor, and internal
zlib._ZlibDecompressor when memory allocation fails with
MemoryError, which could let a subsequent decompress() call
read or write through a stale pointer to the
already-released caller buffer. (bsc#1262098,
CVE-2026-6100, seems like it has been incompletely applied
gh#python/cpython#151605)
- gh-148169: A bypass in webbrowser allowed URLs prefixed
with %action to pass the dash-prefix safety check
(bsc#1262098, CVE-2026-6100).
- gh-146581: Fix vulnerability in shutil.unpack_archive() for
ZIP files on Windows which allowed to write files outside
of the destination tree if the patch in the archive
contains a Windows drive prefix. Now such invalid paths
will be skipped. Files containing '..' in the name (like
'foo..bar') are no longer skipped.
- gh-146333: Fix quadratic backtracking in
configparser.RawConfigParser option parsing regexes (OPTCRE
and OPTCRE_NV). A crafted configuration line with many
whitespace characters could cause excessive CPU usage.
- gh-146211: Reject CR/LF characters in tunnel request
headers for the HTTPConnection.set_tunnel() method.
(bsc#1261969, CVE-2026-1502)
- gh-149144: Fixes an issue introduced by CVE-2026-6019
patch. atob() in JavaScript processes bytes as 'latin-1',
switches the encoding algorithm from base64 to percent
encoding and uses the decodeURIComponent() JavaScript API
(bsc#1263083).
- Core and Builtins
- gh-151112: Fix a crash in the compiler that could occur
when running out of memory.
- gh-151126: Fix a crash, when there's no memory left on
a device, which happened in:
- code compilation - _winapi.CreateProcess()
- Now the

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 python313 3.13.14-150700.4.53.1
SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 python313-core 3.13.14-150700.4.53.1

Vulnerabilities 13

References

  • report
    https://bugzilla.suse.com/1257041
  • report
    https://bugzilla.suse.com/1257044
  • report
    https://bugzilla.suse.com/1262429
  • report
    https://bugzilla.suse.com/1263083
  • 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/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
  • 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-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-15308
  • web
    https://www.suse.com/security/cve/CVE-2026-3219
  • web
    https://www.suse.com/security/cve/CVE-2026-3276
  • 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-7210
  • web
    https://www.suse.com/security/cve/CVE-2026-7774
  • web
    https://www.suse.com/security/cve/CVE-2026-8328