Security update for libssh

Announcement ID: SUSE-SU-2025:02229-1
Release Date: 2025-07-04T16:02:38Z
Rating: important
References:
Cross-References:
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-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-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
Affected Products:
  • Basesystem Module 15-SP6
  • Basesystem Module 15-SP7
  • openSUSE Leap 15.6
  • 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 four vulnerabilities can now be installed.

Description:

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

Package List:

  • 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
    • libssh4-debuginfo-0.9.8-150600.11.3.1
    • libssh-config-0.9.8-150600.11.3.1
  • Basesystem Module 15-SP7 (x86_64)
    • libssh4-32bit-0.9.8-150600.11.3.1
    • libssh4-32bit-debuginfo-0.9.8-150600.11.3.1

References: