SUSE-SU-2025:20557-1: important: Security update for libssh

SLE-UPDATES null at suse.de
Tue Aug 19 16:31:06 UTC 2025



# Security update for libssh

Announcement ID: SUSE-SU-2025:20557-1  
Release Date: 2025-08-14T09:26:49Z  
Rating: important  
References:

  * bsc#1245309
  * bsc#1245310
  * bsc#1245311
  * bsc#1245312
  * bsc#1245314
  * bsc#1245317

  
Cross-References:

  * CVE-2025-4877
  * CVE-2025-4878
  * CVE-2025-5318
  * CVE-2025-5351
  * CVE-2025-5372
  * CVE-2025-5987

  
CVSS scores:

  * CVE-2025-4877 ( SUSE ):  2.0
    CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
  * CVE-2025-4877 ( SUSE ):  4.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
  * CVE-2025-4878 ( SUSE ):  2.0
    CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
  * CVE-2025-4878 ( SUSE ):  3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
  * CVE-2025-4878 ( NVD ):  3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
  * CVE-2025-5318 ( SUSE ):  5.3
    CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
  * CVE-2025-5318 ( SUSE ):  5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  * CVE-2025-5318 ( NVD ):  5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  * CVE-2025-5351 ( SUSE ):  6.1
    CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
  * CVE-2025-5351 ( SUSE ):  6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
  * CVE-2025-5351 ( NVD ):  4.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
  * CVE-2025-5372 ( SUSE ):  7.6
    CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
  * CVE-2025-5372 ( SUSE ):  7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
  * CVE-2025-5372 ( NVD ):  5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
  * CVE-2025-5987 ( SUSE ):  2.3
    CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
  * CVE-2025-5987 ( SUSE ):  5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
  * CVE-2025-5987 ( NVD ):  5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

  
Affected Products:

  * SUSE Linux Micro 6.0

  
  
An update that solves six vulnerabilities can now be installed.

## Description:

This update for libssh fixes the following issues:

  * CVE-2025-5372: ssh_kdf() returns a success code on certain failures
    (bsc#1245314)
  * CVE-2025-5987: Invalid return code for chacha20 poly1305 with OpenSSL
    backend (bsc#1245317)
  * CVE-2025-4877: Write beyond bounds in binary to base64 conversion functions
    (bsc#1245309)
  * CVE-2025-4878: Use of uninitialized variable in privatekey_from_file()
    (bsc#1245310)
  * CVE-2025-5318: Likely read beyond bounds in sftp server handle management
    (bsc#1245311)
  * CVE-2025-5351: Double free in functions exporting keys (bsc#1245312)

## 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:

  * SUSE Linux Micro 6.0  
    zypper in -t patch SUSE-SLE-Micro-6.0-419=1

## Package List:

  * SUSE Linux Micro 6.0 (aarch64 s390x x86_64)
    * libssh4-0.10.6-2.1
    * libssh4-debuginfo-0.10.6-2.1
    * libssh-debugsource-0.10.6-2.1
    * libssh-config-0.10.6-2.1

## 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-5351.html
  * https://www.suse.com/security/cve/CVE-2025-5372.html
  * https://www.suse.com/security/cve/CVE-2025-5987.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=1245312
  * https://bugzilla.suse.com/show_bug.cgi?id=1245314
  * https://bugzilla.suse.com/show_bug.cgi?id=1245317

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.suse.com/pipermail/sle-updates/attachments/20250819/fdc7cd24/attachment-0001.htm>


More information about the sle-updates mailing list