Upstream information

CVE-2025-5351 at MITRE

Description

A flaw was found in the key export functionality of libssh. The issue occurs in the internal function responsible for converting cryptographic keys into serialized formats. During error handling, a memory structure is freed but not cleared, leading to a potential double free issue if an additional failure occurs later in the function. This condition may result in heap corruption or application instability in low-memory scenarios, posing a risk to system reliability where key export operations are performed.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  CNA (Red Hat) SUSE
Base Score 4.2 6.4
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
Attack Vector Network Network
Attack Complexity High High
Privileges Required Low Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact Low Low
Integrity Impact Low Low
Availability Impact None High
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
  SUSE
Base Score 6.1
Vector 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
Attack Vector Network
Attack Complexity Low
Attack Requirements Present
Privileges Required Low
User Interaction None
Vulnerable System Confidentiality Impact Low
Vulnerable System Integrity Impact Low
Vulnerable System Availability Impact High
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1245312 [NEW]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • libssh-config >= 0.11.2-1.1
  • libssh-devel >= 0.11.2-1.1
  • libssh4 >= 0.11.2-1.1
  • libssh4-32bit >= 0.11.2-1.1
Patchnames:
openSUSE-Tumbleweed-2025-15243


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP6 libssh Not affected
SUSE Linux Enterprise Desktop 15 SP7 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP7 libssh Not affected
SUSE Linux Enterprise Micro 5.1 libssh Not affected
SUSE Linux Enterprise Micro 5.2 libssh Not affected
SUSE Linux Enterprise Micro 5.3 libssh Not affected
SUSE Linux Enterprise Micro 5.4 libssh Not affected
SUSE Linux Enterprise Micro 5.5 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 libssh Not affected
SUSE Linux Enterprise Server 15 SP6 libssh Not affected
SUSE Linux Enterprise Server 15 SP7 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 libssh Not affected
SUSE Linux Micro 6.0 libssh Affected
SUSE Linux Micro 6.1 libssh Affected
openSUSE Leap 15.6 libssh Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP3 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 libssh Not affected
SUSE Linux Enterprise Server 12 SP5 libssh Not affected
SUSE Linux Enterprise Server 12 SP5-LTSS libssh Not affected
SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security libssh Not affected
SUSE Linux Enterprise Server 15 SP3 libssh Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS libssh Not affected
SUSE Linux Enterprise Server 15 SP4 libssh Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS libssh Not affected
SUSE Linux Enterprise Server 15 SP5 libssh Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS libssh Not affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 libssh Not affected
SUSE Manager Proxy 4.3 libssh Not affected
SUSE Manager Proxy LTS 4.3 libssh Not affected
SUSE Manager Retail Branch Server 4.3 libssh Not affected
SUSE Manager Retail Branch Server LTS 4.3 libssh Not affected
SUSE Manager Server 4.3 libssh Not affected
SUSE Manager Server LTS 4.3 libssh Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 libssh Not affected
SUSE Enterprise Storage 6 libssh Not affected
SUSE Enterprise Storage 7 libssh Not affected
SUSE Enterprise Storage 7.1 libssh Not affected
SUSE Linux Enterprise Desktop 12 libssh Not affected
SUSE Linux Enterprise Desktop 12 SP1 libssh Not affected
SUSE Linux Enterprise Desktop 12 SP2 libssh Not affected
SUSE Linux Enterprise Desktop 12 SP3 libssh Not affected
SUSE Linux Enterprise Desktop 12 SP4 libssh Not affected
SUSE Linux Enterprise Desktop 15 libssh Not affected
SUSE Linux Enterprise Desktop 15 SP1 libssh Not affected
SUSE Linux Enterprise Desktop 15 SP2 libssh Not affected
SUSE Linux Enterprise Desktop 15 SP3 libssh Not affected
SUSE Linux Enterprise Desktop 15 SP4 libssh Not affected
SUSE Linux Enterprise Desktop 15 SP5 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS libssh Not affected
SUSE Linux Enterprise Micro 5.0 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 libssh Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 libssh Not affected
SUSE Linux Enterprise Real Time 15 SP2 libssh Not affected
SUSE Linux Enterprise Real Time 15 SP3 libssh Not affected
SUSE Linux Enterprise Real Time 15 SP4 libssh Not affected
SUSE Linux Enterprise Server 12 libssh Not affected
SUSE Linux Enterprise Server 12 SP1 libssh Not affected
SUSE Linux Enterprise Server 12 SP2 libssh Not affected
SUSE Linux Enterprise Server 12 SP3 libssh Not affected
SUSE Linux Enterprise Server 12 SP4 libssh Not affected
SUSE Linux Enterprise Server 12 SP4-ESPOS libssh Not affected
SUSE Linux Enterprise Server 12 SP4-LTSS libssh Not affected
SUSE Linux Enterprise Server 15 libssh Not affected
SUSE Linux Enterprise Server 15 SP1 libssh Not affected
SUSE Linux Enterprise Server 15 SP1-BCL libssh Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS libssh Not affected
SUSE Linux Enterprise Server 15 SP2 libssh Not affected
SUSE Linux Enterprise Server 15 SP2-BCL libssh Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS libssh Not affected
SUSE Linux Enterprise Server 15 SP3-BCL libssh Not affected
SUSE Linux Enterprise Server 15-LTSS libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP1 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 libssh Not affected
SUSE Linux Enterprise Software Development Kit 12 libssh Not affected
SUSE Linux Enterprise Software Development Kit 12 SP1 libssh Not affected
SUSE Linux Enterprise Software Development Kit 12 SP2 libssh Not affected
SUSE Linux Enterprise Software Development Kit 12 SP3 libssh Not affected
SUSE Linux Enterprise Software Development Kit 12 SP4 libssh Not affected
SUSE Linux Enterprise Software Development Kit 12 SP5 libssh Not affected
SUSE Linux Enterprise Workstation Extension 12 libssh Not affected
SUSE Linux Enterprise Workstation Extension 12 SP1 libssh Not affected
SUSE Linux Enterprise Workstation Extension 12 SP2 libssh Not affected
SUSE Linux Enterprise Workstation Extension 12 SP3 libssh Not affected
SUSE Manager Proxy 4.0 libssh Not affected
SUSE Manager Proxy 4.1 libssh Not affected
SUSE Manager Proxy 4.2 libssh Not affected
SUSE Manager Retail Branch Server 4.0 libssh Not affected
SUSE Manager Retail Branch Server 4.1 libssh Not affected
SUSE Manager Retail Branch Server 4.2 libssh Not affected
SUSE Manager Server 4.0 libssh Not affected
SUSE Manager Server 4.1 libssh Not affected
SUSE Manager Server 4.2 libssh Not affected
SUSE OpenStack Cloud 9 libssh Not affected
SUSE OpenStack Cloud Crowbar 9 libssh Not affected
openSUSE Leap 15.3 libssh Not affected
openSUSE Leap 15.4 libssh Not affected
openSUSE Leap 15.5 libssh Not affected
openSUSE Leap Micro 5.2 libssh Not affected
openSUSE Leap Micro 5.3 libssh Not affected
openSUSE Leap Micro 5.4 libssh Not affected
openSUSE Leap Micro 5.5 libssh Not affected


SUSE Timeline for this CVE

CVE page created: Tue Jun 24 18:00:57 2025
CVE page last modified: Mon Jul 7 12:38:28 2025