# Security update for python311 Announcement ID: SUSE-SU-2025:02057-1 Release Date: 2025-06-21T09:04:47Z Rating: important References: * bsc#1241067 * bsc#1243273 * bsc#1244032 * bsc#1244056 * bsc#1244059 * bsc#1244060 Cross-References: * CVE-2024-12718 * CVE-2025-4138 * CVE-2025-4330 * CVE-2025-4516 * CVE-2025-4517 CVSS scores: * CVE-2024-12718 ( SUSE ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N * CVE-2024-12718 ( NVD ): 10.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X * CVE-2024-12718 ( NVD ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N * CVE-2025-4138 ( SUSE ): 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N * CVE-2025-4138 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N * CVE-2025-4330 ( SUSE ): 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N * CVE-2025-4330 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N * CVE-2025-4516 ( SUSE ): 5.9 CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X * CVE-2025-4516 ( SUSE ): 5.1 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H * CVE-2025-4516 ( NVD ): 5.9 CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X * CVE-2025-4517 ( SUSE ): 7.5 CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N * CVE-2025-4517 ( SUSE ): 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H * CVE-2025-4517 ( NVD ): 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L Affected Products: * Basesystem Module 15-SP6 * Basesystem Module 15-SP7 * openSUSE Leap 15.6 * Python 3 Module 15-SP6 * Python 3 Module 15-SP7 * SUSE Linux Enterprise Desktop 15 SP6 * SUSE Linux Enterprise Desktop 15 SP7 * SUSE Linux Enterprise Real Time 15 SP6 * SUSE Linux Enterprise Real Time 15 SP7 * SUSE Linux Enterprise Server 15 SP6 * SUSE Linux Enterprise Server 15 SP7 * SUSE Linux Enterprise Server for SAP Applications 15 SP6 * SUSE Linux Enterprise Server for SAP Applications 15 SP7 An update that solves five vulnerabilities and has one security fix can now be installed. ## Description: This update for python311 fixes the following issues: python311 was updated from version 3.11.10 to 3.11.13: * Security issues fixed: * CVE-2025-4516: Fixed blocking DecodeError handling vulnerability, which could lead to DoS (bsc#1243273). * CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517: Fixed multiple issues that allowed tarfile extraction filters to be bypassed using crafted symlinks and hard links (bsc#1244056, bsc#1244059, bsc#1244060, bsc#1244032) * Other changes and bugs fixed: * Improved handling of system call failures that OpenSSL reports (bsc#1241067) * Disable GC during thread operations to prevent deadlocks. * Fixed a potential denial of service vulnerability in the imaplib module. * Fixed bugs in the in the folding of rfc2047 encoded-words and in the folding of quoted strings when flattening an email message using a modern email policy. * Fixed parsing long IPv6 addresses with embedded IPv4 address. * Fixed ipaddress.IPv6Address.reverse_pointer output according to RFC 3596 * Improved the textual representation of IPv4-mapped IPv6 addresses in ipaddress. * ipaddress: fixed hash collisions for IPv4Network and IPv6Network objects * os.path.realpath() now accepts a strict keyword-only argument. * Stop the processing of long IPv6 addresses early in ipaddress to prevent excessive memory consumption and a minor denial-of-service. * Updated bundled libexpat to 2.7.1 * Writers of CPython documentation can now use next as the version for the versionchanged, versionadded, deprecated directives. ## 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.6 zypper in -t patch SUSE-2025-2057=1 openSUSE-SLE-15.6-2025-2057=1 * Basesystem Module 15-SP6 zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP6-2025-2057=1 * Basesystem Module 15-SP7 zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP7-2025-2057=1 * Python 3 Module 15-SP6 zypper in -t patch SUSE-SLE-Module-Python3-15-SP6-2025-2057=1 * Python 3 Module 15-SP7 zypper in -t patch SUSE-SLE-Module-Python3-15-SP7-2025-2057=1 ## Package List: * openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 i586) * python311-tk-3.11.13-150600.3.30.1 * python311-3.11.13-150600.3.30.1 * python311-idle-3.11.13-150600.3.30.1 * python311-curses-debuginfo-3.11.13-150600.3.30.1 * python311-testsuite-3.11.13-150600.3.30.1 * python311-doc-3.11.13-150600.3.30.1 * python311-base-3.11.13-150600.3.30.1 * python311-devel-3.11.13-150600.3.30.1 * python311-tools-3.11.13-150600.3.30.1 * python311-testsuite-debuginfo-3.11.13-150600.3.30.1 * python311-debugsource-3.11.13-150600.3.30.1 * libpython3_11-1_0-3.11.13-150600.3.30.1 * libpython3_11-1_0-debuginfo-3.11.13-150600.3.30.1 * python311-base-debuginfo-3.11.13-150600.3.30.1 * python311-core-debugsource-3.11.13-150600.3.30.1 * python311-doc-devhelp-3.11.13-150600.3.30.1 * python311-dbm-debuginfo-3.11.13-150600.3.30.1 * python311-tk-debuginfo-3.11.13-150600.3.30.1 * python311-debuginfo-3.11.13-150600.3.30.1 * python311-dbm-3.11.13-150600.3.30.1 * python311-curses-3.11.13-150600.3.30.1 * openSUSE Leap 15.6 (x86_64) * python311-32bit-debuginfo-3.11.13-150600.3.30.1 * python311-base-32bit-debuginfo-3.11.13-150600.3.30.1 * python311-32bit-3.11.13-150600.3.30.1 * libpython3_11-1_0-32bit-debuginfo-3.11.13-150600.3.30.1 * python311-base-32bit-3.11.13-150600.3.30.1 * libpython3_11-1_0-32bit-3.11.13-150600.3.30.1 * openSUSE Leap 15.6 (aarch64_ilp32) * python311-base-64bit-debuginfo-3.11.13-150600.3.30.1 * libpython3_11-1_0-64bit-3.11.13-150600.3.30.1 * python311-64bit-debuginfo-3.11.13-150600.3.30.1 * python311-64bit-3.11.13-150600.3.30.1 * python311-base-64bit-3.11.13-150600.3.30.1 * libpython3_11-1_0-64bit-debuginfo-3.11.13-150600.3.30.1 * Basesystem Module 15-SP6 (aarch64 ppc64le s390x x86_64) * python311-base-debuginfo-3.11.13-150600.3.30.1 * python311-core-debugsource-3.11.13-150600.3.30.1 * python311-base-3.11.13-150600.3.30.1 * libpython3_11-1_0-3.11.13-150600.3.30.1 * libpython3_11-1_0-debuginfo-3.11.13-150600.3.30.1 * Basesystem Module 15-SP7 (aarch64 ppc64le s390x x86_64) * python311-base-debuginfo-3.11.13-150600.3.30.1 * python311-core-debugsource-3.11.13-150600.3.30.1 * python311-base-3.11.13-150600.3.30.1 * libpython3_11-1_0-3.11.13-150600.3.30.1 * libpython3_11-1_0-debuginfo-3.11.13-150600.3.30.1 * Python 3 Module 15-SP6 (aarch64 ppc64le s390x x86_64) * python311-core-debugsource-3.11.13-150600.3.30.1 * python311-curses-debuginfo-3.11.13-150600.3.30.1 * python311-tk-3.11.13-150600.3.30.1 * python311-dbm-debuginfo-3.11.13-150600.3.30.1 * python311-tk-debuginfo-3.11.13-150600.3.30.1 * python311-debuginfo-3.11.13-150600.3.30.1 * python311-dbm-3.11.13-150600.3.30.1 * python311-3.11.13-150600.3.30.1 * python311-tools-3.11.13-150600.3.30.1 * python311-debugsource-3.11.13-150600.3.30.1 * python311-curses-3.11.13-150600.3.30.1 * python311-devel-3.11.13-150600.3.30.1 * python311-idle-3.11.13-150600.3.30.1 * Python 3 Module 15-SP7 (aarch64 ppc64le s390x x86_64) * python311-core-debugsource-3.11.13-150600.3.30.1 * python311-curses-debuginfo-3.11.13-150600.3.30.1 * python311-tk-3.11.13-150600.3.30.1 * python311-dbm-debuginfo-3.11.13-150600.3.30.1 * python311-tk-debuginfo-3.11.13-150600.3.30.1 * python311-debuginfo-3.11.13-150600.3.30.1 * python311-dbm-3.11.13-150600.3.30.1 * python311-3.11.13-150600.3.30.1 * python311-tools-3.11.13-150600.3.30.1 * python311-debugsource-3.11.13-150600.3.30.1 * python311-curses-3.11.13-150600.3.30.1 * python311-devel-3.11.13-150600.3.30.1 * python311-idle-3.11.13-150600.3.30.1 ## References: * https://www.suse.com/security/cve/CVE-2024-12718.html * https://www.suse.com/security/cve/CVE-2025-4138.html * https://www.suse.com/security/cve/CVE-2025-4330.html * https://www.suse.com/security/cve/CVE-2025-4516.html * https://www.suse.com/security/cve/CVE-2025-4517.html * https://bugzilla.suse.com/show_bug.cgi?id=1241067 * https://bugzilla.suse.com/show_bug.cgi?id=1243273 * https://bugzilla.suse.com/show_bug.cgi?id=1244032 * https://bugzilla.suse.com/show_bug.cgi?id=1244056 * https://bugzilla.suse.com/show_bug.cgi?id=1244059 * https://bugzilla.suse.com/show_bug.cgi?id=1244060