RHSA-2026:20610MediumCVSS 5.0

Red Hat Security Advisory: libssh security update

Published
May 26, 2026
Last Modified
September 1, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2025-5372 — libssh: Incorrect Return Code Handling in ssh_kdf() in libssh

🎯 Affected products38

  • Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.src as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.src as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-config-0:0.9.6-13.el8_8.2.noarch as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-config-0:0.9.6-13.el8_8.2.noarch as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-debuginfo-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.i686 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • libssh-debugsource-0:0.9.6-13.el8_8.2.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • +8 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: To mitigate this issue, administrators should ensure that libssh is built against OpenSSL version 3.0 or later. This change eliminates the return code mismatch and prevents the erroneous use of uninitialized key material. It is also strongly recommended to apply vendor supplied patches or update to the latest libssh security release as soon as possible.

🔗 References (4)