This update for libssh fixes the following issues:
* 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-5318: Fixed likely read beyond bounds in sftp server handle
management (bsc#1245311).
* CVE-2025-5372: Fixed 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.4
zypper in -t patch SUSE-2025-2278=1
* SUSE Linux Enterprise Micro for Rancher 5.3
zypper in -t patch SUSE-SLE-Micro-5.3-2025-2278=1
* SUSE Linux Enterprise Micro 5.3
zypper in -t patch SUSE-SLE-Micro-5.3-2025-2278=1
* SUSE Linux Enterprise Micro for Rancher 5.4
zypper in -t patch SUSE-SLE-Micro-5.4-2025-2278=1
* SUSE Linux Enterprise Micro 5.4
zypper in -t patch SUSE-SLE-Micro-5.4-2025-2278=1
* SUSE Linux Enterprise Micro 5.5
zypper in -t patch SUSE-SLE-Micro-5.5-2025-2278=1
* SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4
zypper in -t patch SUSE-SLE-Product-HPC-15-SP4-ESPOS-2025-2278=1
* SUSE Linux Enterprise High Performance Computing LTSS 15 SP4
zypper in -t patch SUSE-SLE-Product-HPC-15-SP4-LTSS-2025-2278=1
* SUSE Linux Enterprise High Performance Computing ESPOS 15...
Read the Full Advisory* openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 i586)
* libssh4-debuginfo-0.9.8-150400.3.9.1
* libssh4-0.9.8-150400.3.9.1
* libssh-devel-0.9.8-150400.3.9.1
* libssh-config-0.9.8-150400.3.9.1
* libssh-debugsource-0.9.8-150400.3.9.1
* openSUSE Leap 15.4 (x86_64)
* libssh4-32bit-debuginfo-0.9.8-150400.3.9.1
* libssh4-32bit-0.9.8-150400.3.9.1
* openSUSE Leap 15.4 (aarch64_ilp32)
* libssh4-64bit-0.9.8-150400.3.9.1
* libssh4-64bit-debuginfo-0.9.8-150400.3.9.1
* SUSE Linux Enterprise Micro for Rancher 5.3 (aarch64 s390x x86_64)
* libssh-debugsource-0.9.8-150400.3.9.1
* libssh4-debuginfo-0.9.8-150400.3.9.1
* libssh4-0.9.8-150400.3.9.1
* libssh-config-0.9.8-150400.3.9.1
* SUSE Linux Enterprise Micro 5.3 (aarch64 s390x x86_64)
* libssh-debugsource-0.9.8-150400.3.9.1
* libssh4-debuginfo-0.9.8-150400.3.9.1
* libssh4-0.9.8-150400.3.9.1
* libssh-config-0.9.8-150400.3.9.1
* SUSE Linux Enterprise Micro for Rancher 5.4 (aarch64 s390x x86_64)
* libssh-debugsource-0.9.8-150400.3.9.1
* libssh4-debuginfo-0.9.8-150400.3.9.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.