This update for python fixes the following issues:
* CVE-2025-6075: quadratic complexity in `os.path.expandvars()` can lead to
performance degradation when values passed to it are user-controlled
(bsc#1252974).
* CVE-2025-8291: lack of validity checks on the ZIP64 End of Central Directory
(EOCD) record allows for the creation of ZIP archives that are processed
inconsistently by the `zipfile` module (bsc#1251305).
## 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 openSUSE-SLE-15.6-2025-4389=1
* SUSE Package Hub 15 15-SP6
zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2025-4389=1
* SUSE Package Hub 15 15-SP7
zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2025-4389=1
* openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64)
* python-gdbm-2.7.18-150000.89.1
* python-base-2.7.18-150000.89.2
* python-xml-debuginfo-2.7.18-150000.89.2
* libpython2_7-1_0-2.7.18-150000.89.2
* python-tk-2.7.18-150000.89.1
* python-base-debugsource-2.7.18-150000.89.2
* libpython2_7-1_0-debuginfo-2.7.18-150000.89.2
* python-2.7.18-150000.89.1
* python-tk-debuginfo-2.7.18-150000.89.1
* python-xml-2.7.18-150000.89.2
* python-curses-2.7.18-150000.89.1
* python-curses-debuginfo-2.7.18-150000.89.1
* python-demo-2.7.18-150000.89.1
* python-devel-2.7.18-150000.89.2
* python-idle-2.7.18-150000.89.1
* python-debugsource-2.7.18-150000.89.1
* python-base-debuginfo-2.7.18-150000.89.2
* python-debuginfo-2.7.18-150000.89.1
* python-gdbm-debuginfo-2.7.18-150000.89.1
* openSUSE Leap 15.6 (x86_64)
* python-32bit-2.7.18-150000.89.1
* python-base-32bit-debuginfo-2.7.18-150000.89.2
* libpython2_7-1_0-32bit-debuginfo-2.7.18-150000.89.2
* python-32bit-debuginfo-2.7.18-150000.89.1
* python-base-32bit-2.7.18-150000.89.2
*...
Read the Full Advisory* bsc#1251305
* bsc#1252974
## References:
* https://www.suse.com/security/cve/CVE-2025-6075.html
* https://www.suse.com/security/cve/CVE-2025-8291.html
* https://bugzilla.suse.com/show_bug.cgi?id=1251305
* https://bugzilla.suse.com/show_bug.cgi?id=1252974
Get the latest Linux and open source security news straight to your inbox.