<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2025-0307</id>
    <title>An update for libssh is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2025-12-09 06:53:37"/>
    <updated date="2025-12-09 06:53:37"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-8114" id="CVE-2025-8114" title="CVE-2025-8114 Base Score: 4.7 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-8277" id="CVE-2025-8277" title="CVE-2025-8277 Base Score: 3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-4877" id="CVE-2025-4877" title="CVE-2025-4877 Base Score: 4.5 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-4878" id="CVE-2025-4878" title="CVE-2025-4878 Base Score: 3.6 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N" type="cve"/>
    </references>
    <description>Security Fix(es):

A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the client or server to crash. (CVE-2025-8114)

A flaw was found in libssh_x27;s handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability. (CVE-2025-8277)

There_x27;s a vulnerability in the libssh package where when a libssh consumer passes in an unexpectedly large input buffer to ssh_get_fingerprint_hash() function. In such cases the bin_to_base64() function can experience an integer overflow leading to a memory under allocation, when that happens it_x27;s possible that the program perform out of bounds write leading to a heap corruption.
This issue affects only 32-bits builds of libssh. (CVE-2025-4877)

A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn_x27;t exist and may lead to possible signing failures or heap corruption. (CVE-2025-4878)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libssh">
        <name>HCE 2.0</name>
        <package arch="x86_64" name="libssh" version="0.9.6" release="2.r17.hce2">
          <filename>libssh-0.9.6-2.r17.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libssh-devel" version="0.9.6" release="2.r17.hce2">
          <filename>libssh-devel-0.9.6-2.r17.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="libssh-help" version="0.9.6" release="2.r17.hce2">
          <filename>libssh-help-0.9.6-2.r17.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="libssh" version="0.9.6" release="2.r17.hce2">
          <filename>libssh-0.9.6-2.r17.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libssh-devel" version="0.9.6" release="2.r17.hce2">
          <filename>libssh-devel-0.9.6-2.r17.hce2.aarch64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
