<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for libssh</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2025:03368-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2025-09-26T10:53:33Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2025-09-26T10:53:33Z</InitialReleaseDate>
    <CurrentReleaseDate>2025-09-26T10:53:33Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for libssh</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for libssh fixes the following issues:

- CVE-2025-8277: memory exhaustion leading to client-side DoS due to improper memory management when KEX process is
  repeated with incorrect guesses (bsc#1249375).
- CVE-2025-8114: NULL pointer dereference when an allocation error happens during the calculation of the KEX session ID
  (bsc#1246974).
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">Container suse/ltss/sle12.5/sles12sp5:latest-2025-3368,SUSE-2025-3368,SUSE-SLE-SERVER-12-SP5-LTSS-EXTENDED-SECURITY-2025-3368</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202503368-1/</URL>
      <Description>Link for SUSE-SU-2025:03368-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2025-September/041851.html</URL>
      <Description>E-Mail link for SUSE-SU-2025:03368-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1246974</URL>
      <Description>SUSE Bug 1246974</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1249375</URL>
      <Description>SUSE Bug 1249375</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-8114/</URL>
      <Description>SUSE CVE CVE-2025-8114 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-8277/</URL>
      <Description>SUSE CVE CVE-2025-8277 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Container suse/ltss/sle12.5/sles12sp5:latest">
      <Branch Type="Product Name" Name="Container suse/ltss/sle12.5/sles12sp5:latest">
        <FullProductName ProductID="Container suse/ltss/sle12.5/sles12sp5:latest">Container suse/ltss/sle12.5/sles12sp5:latest</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5" CPE="cpe:/o:suse:sles-ltss-extended-security:12:sp5">SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libssh-config-0.9.8-3.18.1">
      <FullProductName ProductID="libssh-config-0.9.8-3.18.1">libssh-config-0.9.8-3.18.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libssh4-0.9.8-3.18.1">
      <FullProductName ProductID="libssh4-0.9.8-3.18.1">libssh4-0.9.8-3.18.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libssh-devel-0.9.8-3.18.1">
      <FullProductName ProductID="libssh-devel-0.9.8-3.18.1">libssh-devel-0.9.8-3.18.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libssh4-32bit-0.9.8-3.18.1">
      <FullProductName ProductID="libssh4-32bit-0.9.8-3.18.1">libssh4-32bit-0.9.8-3.18.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libssh4-64bit-0.9.8-3.18.1">
      <FullProductName ProductID="libssh4-64bit-0.9.8-3.18.1">libssh4-64bit-0.9.8-3.18.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libssh-config-0.9.8-3.18.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/ltss/sle12.5/sles12sp5:latest">
      <FullProductName ProductID="Container suse/ltss/sle12.5/sles12sp5:latest:libssh-config-0.9.8-3.18.1">libssh-config-0.9.8-3.18.1 as a component of Container suse/ltss/sle12.5/sles12sp5:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="libssh4-0.9.8-3.18.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/ltss/sle12.5/sles12sp5:latest">
      <FullProductName ProductID="Container suse/ltss/sle12.5/sles12sp5:latest:libssh4-0.9.8-3.18.1">libssh4-0.9.8-3.18.1 as a component of Container suse/ltss/sle12.5/sles12sp5:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="libssh-config-0.9.8-3.18.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh-config-0.9.8-3.18.1">libssh-config-0.9.8-3.18.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libssh-devel-0.9.8-3.18.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh-devel-0.9.8-3.18.1">libssh-devel-0.9.8-3.18.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libssh4-0.9.8-3.18.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh4-0.9.8-3.18.1">libssh4-0.9.8-3.18.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libssh4-32bit-0.9.8-3.18.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh4-32bit-0.9.8-3.18.1">libssh4-32bit-0.9.8-3.18.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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.</Note>
    </Notes>
    <CVE>CVE-2025-8114</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/ltss/sle12.5/sles12sp5:latest:libssh-config-0.9.8-3.18.1</ProductID>
        <ProductID>Container suse/ltss/sle12.5/sles12sp5:latest:libssh4-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh-config-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh-devel-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh4-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh4-32bit-0.9.8-3.18.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202503368-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-8114.html</URL>
        <Description>CVE-2025-8114</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1246974</URL>
        <Description>SUSE Bug 1246974</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw was found in libssh'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.</Note>
    </Notes>
    <CVE>CVE-2025-8277</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/ltss/sle12.5/sles12sp5:latest:libssh-config-0.9.8-3.18.1</ProductID>
        <ProductID>Container suse/ltss/sle12.5/sles12sp5:latest:libssh4-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh-config-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh-devel-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh4-0.9.8-3.18.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libssh4-32bit-0.9.8-3.18.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202503368-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-8277.html</URL>
        <Description>CVE-2025-8277</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1249375</URL>
        <Description>SUSE Bug 1249375</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
