This update for libssh fixes the following issues:
* CVE-2025-5318: Fixed likely read beyond bounds in sftp server handle
management (bsc#1245311).
* CVE-2025-4877: Fixed write beyond bounds in binary to base64 conversion
functions (bsc#1245309).
* CVE-2025-4878: Fixed use of uninitialized variable in privatekey_from_file()
(bsc#1245310).
* CVE-2025-5372: Fixed cases where ssh_kdf() returns a success code on certain
failures (bsc#1245314).
## 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-2229=1 openSUSE-SLE-15.6-2025-2229=1
* Basesystem Module 15-SP6
zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP6-2025-2229=1
* Basesystem Module 15-SP7
zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP7-2025-2229=1
* openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 i586)
* libssh4-0.9.8-150600.11.3.1
* libssh-debugsource-0.9.8-150600.11.3.1
* libssh-devel-0.9.8-150600.11.3.1
* libssh4-debuginfo-0.9.8-150600.11.3.1
* libssh-config-0.9.8-150600.11.3.1
* openSUSE Leap 15.6 (x86_64)
* libssh4-32bit-0.9.8-150600.11.3.1
* libssh4-32bit-debuginfo-0.9.8-150600.11.3.1
* openSUSE Leap 15.6 (aarch64_ilp32)
* libssh4-64bit-0.9.8-150600.11.3.1
* libssh4-64bit-debuginfo-0.9.8-150600.11.3.1
* Basesystem Module 15-SP6 (aarch64 ppc64le s390x x86_64)
* libssh4-0.9.8-150600.11.3.1
* libssh-debugsource-0.9.8-150600.11.3.1
* libssh-devel-0.9.8-150600.11.3.1
* libssh4-debuginfo-0.9.8-150600.11.3.1
* libssh-config-0.9.8-150600.11.3.1
* Basesystem Module 15-SP6 (x86_64)
* libssh4-32bit-0.9.8-150600.11.3.1
* libssh4-32bit-debuginfo-0.9.8-150600.11.3.1
* Basesystem Module 15-SP7 (aarch64 ppc64le s390x x86_64)
* libssh4-0.9.8-150600.11.3.1
* libssh-debugsource-0.9.8-150600.11.3.1
* libssh-devel-0.9.8-150600.11.3.1
*...
Read the Full Advisory* bsc#1245309
* bsc#1245310
* bsc#1245311
* bsc#1245314
## References:
* https://www.suse.com/security/cve/CVE-2025-4877.html
* https://www.suse.com/security/cve/CVE-2025-4878.html
* https://www.suse.com/security/cve/CVE-2025-5318.html
* https://www.suse.com/security/cve/CVE-2025-5372.html
* https://bugzilla.suse.com/show_bug.cgi?id=1245309
* https://bugzilla.suse.com/show_bug.cgi?id=1245310
* https://bugzilla.suse.com/show_bug.cgi?id=1245311
* https://bugzilla.suse.com/show_bug.cgi?id=1245314
Get the latest Linux and open source security news straight to your inbox.