CVE-2025-5372
Libssh: incorrect return code handling in ssh_kdf() in libssh
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.0
Libssh: incorrect return code handling in ssh_kdf() in libssh
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
CVE-2025-5372- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-682
- Updated
- 2026-11-05
EUVDEUVD-2025-19931
5.0
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
EUVD-2025-19931- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-05
GitHub AdvisoriesGHSA-59w5-j22f-h3rv
5.0
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in...
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
GHSA-59w5-j22f-h3rv- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-682
- Updated
- 2026-11-02
NVD
5.0
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
CVE-2025-5372- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-682
- Updated
- 2026-11-05
OSVALPINE-CVE-2025-5372
8.8
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
ALPINE-CVE-2025-5372- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2025-5372
8.8
- Record
BELL-CVE-2025-5372- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 35 moreShow less
OSV
5.0
Libssh: incorrect return code handling in ssh_kdf() in libssh
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
CVE-2025-5372- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-682
- Updated
- 2026-11-07
OSVDEBIAN-CVE-2025-5372
8.8
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
DEBIAN-CVE-2025-5372- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVJLSEC-2025-97
8.8
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the...
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
JLSEC-2025-97- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2127
8.8
libssh security update
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
A vulnerability classified as critical was found in libssh up to 0.11.1.The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4877)
A vulnerability, which was classified as problematic, has been found in libssh up to 0.11.1.Using CWE to declare the problem leads to CWE-824. The product accesses or uses a pointer that has not been initialized.Impacted is confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4878)
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.(CVE-2025-5351)
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.(CVE-2025-5372)
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.(CVE-2025-5987)
- Record
OESA-2025-2127- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2128
8.8
libssh security update
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
A vulnerability classified as critical was found in libssh up to 0.11.1.The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4877)
A vulnerability, which was classified as problematic, has been found in libssh up to 0.11.1.Using CWE to declare the problem leads to CWE-824. The product accesses or uses a pointer that has not been initialized.Impacted is confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4878)
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.(CVE-2025-5372)
- Record
OESA-2025-2128- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2129
8.8
libssh security update
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
A vulnerability classified as critical was found in libssh up to 0.11.1.The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4877)
A vulnerability, which was classified as problematic, has been found in libssh up to 0.11.1.Using CWE to declare the problem leads to CWE-824. The product accesses or uses a pointer that has not been initialized.Impacted is confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4878)
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.(CVE-2025-5372)
- Record
OESA-2025-2129- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2130
8.8
libssh security update
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
A vulnerability classified as critical was found in libssh up to 0.11.1.The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4877)
A vulnerability, which was classified as problematic, has been found in libssh up to 0.11.1.Using CWE to declare the problem leads to CWE-824. The product accesses or uses a pointer that has not been initialized.Impacted is confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4878)
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.(CVE-2025-5372)
- Record
OESA-2025-2130- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2132
8.8
libssh security update
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
A vulnerability classified as critical was found in libssh up to 0.11.1.The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.As an impact it is known to affect confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4877)
A vulnerability, which was classified as problematic, has been found in libssh up to 0.11.1.Using CWE to declare the problem leads to CWE-824. The product accesses or uses a pointer that has not been initialized.Impacted is confidentiality, integrity, and availability.Upgrading to version 0.11.2 eliminates this vulnerability.(CVE-2025-4878)
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.(CVE-2025-5351)
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.(CVE-2025-5372)
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.(CVE-2025-5987)
- Record
OESA-2025-2132- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2294
8.8
libssh security update
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
There'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'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't exist and may lead to possible signing failures or heap corruption.(CVE-2025-4878)
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.(CVE-2025-5351)
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.(CVE-2025-5372)
- Record
OESA-2025-2294- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:21977
5.0
Red Hat Security Advisory: libssh security update
- Record
RHSA-2025:21977- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2025:23024
5.0
Red Hat Security Advisory: libssh security update
- Record
RHSA-2025:23024- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2026:20610
5.0
Red Hat Security Advisory: libssh security update
- Record
RHSA-2026:20610- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2026:24349
5.0
Red Hat Security Advisory: libssh security update
- Record
RHSA-2026:24349- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2026:25911
5.0
Red Hat Security Advisory: libssh security update
- Record
RHSA-2026:25911- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRLSA-2025:21977
5.0
Moderate: libssh security update
libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.
Security Fix(es):
- libssh: Incorrect Return Code Handling in ssh_kdf() in libssh (CVE-2025-5372)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2025:21977- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-11-CVE-2025-5372
8.8
CVE-2025-5372 in libssh - Patched by Root
Root has patched CVE-2025-5372 in the libssh package for Root:Debian:11. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-11-CVE-2025-5372- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2025-5372
8.8
CVE-2025-5372 in libssh - Patched by Root
Root has patched CVE-2025-5372 in the libssh package for Root:Debian:12. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-12-CVE-2025-5372- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-5372
5.0
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
UBUNTU-CVE-2025-5372- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2025:21977 No score
Moderate: libssh security update
libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.
Security Fix(es):
- libssh: Incorrect Return Code Handling in ssh_kdf() in libssh (CVE-2025-5372)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2025:21977- Updated
- 2026-11-02
OSVAZL-64650 No score
CVE-2025-5372 affecting package libssh for versions less than 0.10.6-2
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
AZL-64650- Updated
- 2026-11-02
OSVAZL-64656 No score
CVE-2025-5372 affecting package libssh for versions less than 0.10.6-2
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.
- Record
AZL-64656- Updated
- 2026-11-05
OSVCLSA-2025-1759330475 No score
libssh: Fix of CVE-2025-5372
- CVE-2025-5372: uninitialized key buffers caused by inconsistent ssh_kdf() return value
- Record
CLSA-2025-1759330475- Updated
- 2026-11-02
OSVCLSA-2025-1759782399 No score
Fix CVE(s): CVE-2025-5372
- SECURITY UPDATE: improper return value handling in key derivation function
- debian/patches/CVE-2025-5372.patch: reformat ssh_kdf() to fix formatting issue with EVP_KDF_ctrl calls
- debian/patches/CVE-2025-5372-1.patch: simplify error checking and handling of return codes in ssh_kdf
- CVE-2025-5372
- Record
CLSA-2025-1759782399- Updated
- 2026-11-02
OSVCLSA-2025-1759857168 No score
libssh: Fix of CVE-2025-5372
- CVE-2025-5372: uninitialized key buffers caused by inconsistent ssh_kdf() return value
- Record
CLSA-2025-1759857168- Updated
- 2026-11-02
OSVCLSA-2025-1759951300 No score
libssh: Fix of CVE-2025-5372
- CVE-2025-5372: uninitialized key buffers caused by inconsistent ssh_kdf() return value
- Record
CLSA-2025-1759951300- Updated
- 2026-11-02
OSVCLSA-2025-1764696522 No score
libssh: Fix of 2 CVEs
- CVE-2025-5372: fix inconsistent return value interpretation in ssh_kdf() function to prevent uninitialized key buffers leading to SSH session compromise
- CVE-2025-5987: fix missing error detection in ChaCha20 initialization that could leave cipher context partially uninitialized
- Record
CLSA-2025-1764696522- Updated
- 2026-11-02
OSVMGASA-2026-0189 No score
Updated libssh packages fix security vulnerabilities
CVE-2025-4877 Write beyond bounds in binary to base64 conversion functions CVE-2025-4878 Use of uninitialized variable in privatekey_from_file() CVE-2025-5318 Likely read beyond bounds in sftp server handle management CVE-2025-5351 Double free in functions exporting keys CVE-2025-5372 ssh_kdf() returns a success code on certain failures CVE-2025-5449 Likely read beyond bounds in sftp server message decoding CVE-2025-5987 Invalid return code for chacha20 poly1305 with OpenSSL backend
- Record
MGASA-2026-0189- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15243-1 No score
libssh-config-0.11.2-1.1 on GA media
These are all security issues fixed in the libssh-config-0.11.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15243-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02229-1 No score
Security update for libssh
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).
- Record
SUSE-SU-2025:02229-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02278-1 No score
Security update for libssh
This update for libssh fixes the following issues:
- 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-5318: Fixed likely read beyond bounds in sftp server handle management (bsc#1245311).
- CVE-2025-5372: Fixed ssh_kdf() returns a success code on certain failures (bsc#1245314).
- Record
SUSE-SU-2025:02278-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02279-1 No score
Security update for libssh
This update for libssh fixes the following issues:
- 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-5318: Fixed likely read beyond bounds in sftp server handle management (bsc#1245311).
- CVE-2025-5372: Fixed ssh_kdf() returns a success code on certain failures (bsc#1245314).
- Record
SUSE-SU-2025:02279-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02281-1 No score
Security update for libssh
This update for libssh fixes the following issues:
- 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-5318: Fixed likely read beyond bounds in sftp server handle management (bsc#1245311).
- CVE-2025-5372: Fixed ssh_kdf() returns a success code on certain failures (bsc#1245314).
- Record
SUSE-SU-2025:02281-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20557-1 No score
Security update for libssh
This update for libssh fixes the following issues:
- CVE-2025-5372: ssh_kdf() returns a success code on certain failures (bsc#1245314)
- CVE-2025-5987: Invalid return code for chacha20 poly1305 with OpenSSL backend (bsc#1245317)
- CVE-2025-4877: Write beyond bounds in binary to base64 conversion functions (bsc#1245309)
- CVE-2025-4878: Use of uninitialized variable in privatekey_from_file() (bsc#1245310)
- CVE-2025-5318: Likely read beyond bounds in sftp server handle management (bsc#1245311)
- CVE-2025-5351: Double free in functions exporting keys (bsc#1245312)
- Record
SUSE-SU-2025:20557-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20596-1 No score
Security update for libssh
This update for libssh fixes the following issues:
- CVE-2025-5372: ssh_kdf() returns a success code on certain failures (bsc#1245314)
- CVE-2025-5987: Invalid return code for chacha20 poly1305 with OpenSSL backend (bsc#1245317)
- CVE-2025-4877: Write beyond bounds in binary to base64 conversion functions (bsc#1245309)
- CVE-2025-4878: Use of uninitialized variable in privatekey_from_file() (bsc#1245310)
- CVE-2025-5318: Likely read beyond bounds in sftp server handle management (bsc#1245311)
- CVE-2025-5351: Double free in functions exporting keys (bsc#1245312)
- Record
SUSE-SU-2025:20596-1- Updated
- 2026-11-02
OSVUSN-7619-1 No score
libssh vulnerabilities
Ronald Crane discovered that libssh incorrectly handled certain base64 conversions. An attacker could use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-4877)
Ronald Crane discovered that libssh incorrectly handled the privatekey_from_file() function. An attacker could use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-4878)
Ronald Crane discovered that libssh incorrectly handled certain memory operations in the sftp server. An attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service. (CVE-2025-5318, CVE-2025-5449)
Ronald Crane discovered that libssh incorrectly handled exporting keys. An attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04. (CVE-2025-5351)
Ronald Crane discovered that libssh incorrectly handled the ssh_kdf() function. An attacker could use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-5372)
Ronald Crane discovered that libssh incorrectly handled the ChaCha20 cipher. An attacker could possibly use this issue to cause libssh to use partially initialized cypher content. This issue only affected Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04. (CVE-2025-5987)
- Record
USN-7619-1- Updated
- 2026-11-02
Affected products
- libssh
- red hat enterprise linux 10
- red hat enterprise linux 6
- red hat enterprise linux 7
- red hat enterprise linux 8
- red hat enterprise linux 8.4 advanced mission critical update support
- red hat enterprise linux 8.4 extended update support long-life add-on
- red hat enterprise linux 8.6 advanced mission critical update support
- red hat enterprise linux 8.6 extended update support long-life add-on
- red hat enterprise linux 8.8 telecommunications update service
- red hat enterprise linux 8.8 update services for sap solutions
- red hat enterprise linux 9
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libsshAlpine:v3.22 |
before 0.11.2-r0 | 0.11.2-r0 |
libsshAlpine:v3.23 |
before 0.11.2-r0 | 0.11.2-r0 |
libsshAlpine:v3.24 |
before 0.11.2-r0 | 0.11.2-r0 |
libsshAlmaLinux:8 |
before 0.9.6-16.el8_10 | 0.9.6-16.el8_10 |
libssh-configAlmaLinux:8 |
before 0.9.6-16.el8_10 | 0.9.6-16.el8_10 |
libssh-develAlmaLinux:8 |
before 0.9.6-16.el8_10 | 0.9.6-16.el8_10 |
libsshAzure Linux:2 |
before 0.10.6-2 | 0.10.6-2 |
libsshAzure Linux:3 |
before 0.10.6-2 | 0.10.6-2 |
libsshAlpaquita:23 |
0.10.4-r0 up to 0.11.2-r0 | 0.11.2-r0 |
libsshAlpaquita:25 |
0.11.1-r0 up to 0.11.2-r0 | 0.11.2-r0 |
Show 121 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libsshAlpaquita:stream |
0.9.6-r1 up to 0.11.2-r0 | 0.11.2-r0 |
libsshTuxCare:CentOS-Stream:8 |
before 0.9.6-14.el8.tuxcare.els2 | 0.9.6-14.el8.tuxcare.els2 |
libssh-configTuxCare:CentOS-Stream:8 |
before 0.9.6-14.el8.tuxcare.els2 | 0.9.6-14.el8.tuxcare.els2 |
libssh-develTuxCare:CentOS-Stream:8 |
before 0.9.6-14.el8.tuxcare.els2 | 0.9.6-14.el8.tuxcare.els2 |
libssh-4TuxCare:Ubuntu:20.04 |
before 0.9.3-2ubuntu2.5+tuxcare.els2 | 0.9.3-2ubuntu2.5+tuxcare.els2 |
libssh-devTuxCare:Ubuntu:20.04 |
before 0.9.3-2ubuntu2.5+tuxcare.els2 | 0.9.3-2ubuntu2.5+tuxcare.els2 |
libssh-docTuxCare:Ubuntu:20.04 |
before 0.9.3-2ubuntu2.5+tuxcare.els2 | 0.9.3-2ubuntu2.5+tuxcare.els2 |
libssh-gcrypt-4TuxCare:Ubuntu:20.04 |
before 0.9.3-2ubuntu2.5+tuxcare.els2 | 0.9.3-2ubuntu2.5+tuxcare.els2 |
libssh-gcrypt-devTuxCare:Ubuntu:20.04 |
before 0.9.3-2ubuntu2.5+tuxcare.els2 | 0.9.3-2ubuntu2.5+tuxcare.els2 |
libsshTuxCare:CentOS:8.5 |
before 0.9.4-3.el8.tuxcare.els6 | 0.9.4-3.el8.tuxcare.els6 |
libssh-configTuxCare:CentOS:8.5 |
before 0.9.4-3.el8.tuxcare.els6 | 0.9.4-3.el8.tuxcare.els6 |
libssh-develTuxCare:CentOS:8.5 |
before 0.9.4-3.el8.tuxcare.els6 | 0.9.4-3.el8.tuxcare.els6 |
libsshTuxCare:CentOS:8.4 |
before 0.9.4-3.el8.tuxcare.els6 | 0.9.4-3.el8.tuxcare.els6 |
libssh-configTuxCare:CentOS:8.4 |
before 0.9.4-3.el8.tuxcare.els6 | 0.9.4-3.el8.tuxcare.els6 |
libssh-develTuxCare:CentOS:8.4 |
before 0.9.4-3.el8.tuxcare.els6 | 0.9.4-3.el8.tuxcare.els6 |
libsshTuxCare:AlmaLinux:9.6 From an advisory covering 2 CVEs |
before 0.10.4-15.el9_6.tuxcare.els1 | 0.10.4-15.el9_6.tuxcare.els1 |
libssh-configTuxCare:AlmaLinux:9.6 From an advisory covering 2 CVEs |
before 0.10.4-15.el9_6.tuxcare.els1 | 0.10.4-15.el9_6.tuxcare.els1 |
libssh-develTuxCare:AlmaLinux:9.6 From an advisory covering 2 CVEs |
before 0.10.4-15.el9_6.tuxcare.els1 | 0.10.4-15.el9_6.tuxcare.els1 |
libsshDebian:12 |
before 0.10.6-0+deb12u2, plus listed versions 0.10.5-20.10.5-30.10.5-3+hurd.10.10.6-0+deb12u1 |
0.10.6-0+deb12u2 |
libsshDebian:13 |
before 0.11.2-1 | 0.11.2-1 |
libsshDebian:14 |
before 0.11.2-1 | 0.11.2-1 |
libsshDebian:11 From an advisory covering 6 CVEs |
before 0.9.8-0+deb11u2, plus listed versions 0.9.5-10.9.5-1+deb11u10.9.6-10.9.6-20.9.7-0+deb11u10.9.8-0+deb11u1 |
0.9.8-0+deb11u2 |
libssh_jllJulia |
before 0.11.3+0 | 0.11.3+0 |
libsshMageia:9 From an advisory covering 7 CVEs |
before 0.10.6-1.1.mga9 | 0.10.6-1.1.mga9 |
libsshopenEuler:24.03-LTS-SP2 From an advisory covering 5 CVEs |
before 0.10.5-5.oe2403sp2 | 0.10.5-5.oe2403sp2 |
libsshopenEuler:20.03-LTS-SP4 From an advisory covering 3 CVEs |
before 0.9.4-11.oe2003sp4 | 0.9.4-11.oe2003sp4 |
libsshopenEuler:22.03-LTS-SP3 From an advisory covering 3 CVEs |
before 0.9.6-11.oe2203sp3 | 0.9.6-11.oe2203sp3 |
libsshopenEuler:22.03-LTS-SP4 From an advisory covering 3 CVEs |
before 0.9.6-11.oe2203sp4 | 0.9.6-11.oe2203sp4 |
libsshopenEuler:24.03-LTS-SP1 From an advisory covering 5 CVEs |
before 0.10.5-5.oe2403sp1 | 0.10.5-5.oe2403sp1 |
libsshopenEuler:24.03-LTS From an advisory covering 4 CVEs |
before 0.10.5-5.oe2403 | 0.10.5-5.oe2403 |
libssh-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libssh-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libssh-develRed Hat:enterprise_linux:8::appstream |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libsshRed Hat:enterprise_linux:8::baseos |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libssh-configRed Hat:enterprise_linux:8::baseos |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libssh-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libssh-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libssh-debuginfoRed Hat:rhel_e4s:9.0::appstream |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libssh-debugsourceRed Hat:rhel_e4s:9.0::appstream |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libssh-develRed Hat:rhel_e4s:9.0::appstream |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libsshRed Hat:rhel_e4s:9.0::baseos |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libssh-configRed Hat:rhel_e4s:9.0::baseos |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libssh-debuginfoRed Hat:rhel_e4s:9.0::baseos |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libssh-debugsourceRed Hat:rhel_e4s:9.0::baseos |
before 0:0.9.6-3.el9_0.2 | 0:0.9.6-3.el9_0.2 |
libssh-debuginfoRed Hat:rhel_e4s:8.8::appstream |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debugsourceRed Hat:rhel_e4s:8.8::appstream |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-develRed Hat:rhel_e4s:8.8::appstream |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debuginfoRed Hat:rhel_tus:8.8::appstream |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debugsourceRed Hat:rhel_tus:8.8::appstream |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-develRed Hat:rhel_tus:8.8::appstream |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libsshRed Hat:rhel_e4s:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-configRed Hat:rhel_e4s:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debuginfoRed Hat:rhel_e4s:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debugsourceRed Hat:rhel_e4s:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libsshRed Hat:rhel_tus:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-configRed Hat:rhel_tus:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debuginfoRed Hat:rhel_tus:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debugsourceRed Hat:rhel_tus:8.8::baseos |
before 0:0.9.6-13.el8_8.2 | 0:0.9.6-13.el8_8.2 |
libssh-debuginfoRed Hat:rhel_aus:8.4::appstream |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debugsourceRed Hat:rhel_aus:8.4::appstream |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-develRed Hat:rhel_aus:8.4::appstream |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debuginfoRed Hat:rhel_eus_long_life:8.4::appstream |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debugsourceRed Hat:rhel_eus_long_life:8.4::appstream |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-develRed Hat:rhel_eus_long_life:8.4::appstream |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libsshRed Hat:rhel_aus:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-configRed Hat:rhel_aus:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debuginfoRed Hat:rhel_aus:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debugsourceRed Hat:rhel_aus:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libsshRed Hat:rhel_eus_long_life:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-configRed Hat:rhel_eus_long_life:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debuginfoRed Hat:rhel_eus_long_life:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debugsourceRed Hat:rhel_eus_long_life:8.4::baseos |
before 0:0.9.4-2.el8_4.2 | 0:0.9.4-2.el8_4.2 |
libssh-debuginfoRed Hat:rhel_aus:8.6::appstream |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debugsourceRed Hat:rhel_aus:8.6::appstream |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-develRed Hat:rhel_aus:8.6::appstream |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debuginfoRed Hat:rhel_eus_long_life:8.6::appstream |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debugsourceRed Hat:rhel_eus_long_life:8.6::appstream |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-develRed Hat:rhel_eus_long_life:8.6::appstream |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libsshRed Hat:rhel_aus:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-configRed Hat:rhel_aus:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debuginfoRed Hat:rhel_aus:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debugsourceRed Hat:rhel_aus:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libsshRed Hat:rhel_eus_long_life:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-configRed Hat:rhel_eus_long_life:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debuginfoRed Hat:rhel_eus_long_life:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libssh-debugsourceRed Hat:rhel_eus_long_life:8.6::baseos |
before 0:0.9.6-4.el8_6.2 | 0:0.9.6-4.el8_6.2 |
libsshRocky Linux:8 |
before 0:0.9.6-16.el8_10 | 0:0.9.6-16.el8_10 |
libsshSUSE:Linux Enterprise Module for Basesystem 15 SP6 From an advisory covering 4 CVEs |
before 0.9.8-150600.11.3.1 | 0.9.8-150600.11.3.1 |
libsshSUSE:Linux Enterprise Module for Basesystem 15 SP7 From an advisory covering 4 CVEs |
before 0.9.8-150600.11.3.1 | 0.9.8-150600.11.3.1 |
libsshopenSUSE:Leap 15.6 From an advisory covering 4 CVEs |
before 0.9.8-150600.11.3.1 | 0.9.8-150600.11.3.1 |
libsshSUSE:Linux Enterprise Micro 5.3 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise Micro 5.4 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise Micro 5.5 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise Server 15 SP4-LTSS From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise Server 15 SP5-LTSS From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise Server for SAP Applications 15 SP4 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise Server for SAP Applications 15 SP5 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Manager Proxy 4.3 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Manager Server 4.3 From an advisory covering 4 CVEs |
before 0.9.8-150400.3.9.1 | 0.9.8-150400.3.9.1 |
libsshSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS From an advisory covering 4 CVEs |
before 0.9.8-150200.13.9.1 | 0.9.8-150200.13.9.1 |
libsshSUSE:Linux Enterprise Server 15 SP3-LTSS From an advisory covering 4 CVEs |
before 0.9.8-150200.13.9.1 | 0.9.8-150200.13.9.1 |
libsshSUSE:Linux Enterprise Server for SAP Applications 15 SP3 From an advisory covering 4 CVEs |
before 0.9.8-150200.13.9.1 | 0.9.8-150200.13.9.1 |
libsshSUSE:Linux Enterprise Micro 5.1 From an advisory covering 4 CVEs |
before 0.9.8-150200.13.9.1 | 0.9.8-150200.13.9.1 |
libsshSUSE:Linux Enterprise Micro 5.2 From an advisory covering 4 CVEs |
before 0.9.8-150200.13.9.1 | 0.9.8-150200.13.9.1 |
libsshSUSE:Enterprise Storage 7.1 From an advisory covering 4 CVEs |
before 0.9.8-150200.13.9.1 | 0.9.8-150200.13.9.1 |
libsshSUSE:Linux Enterprise Server 12 SP5-LTSS From an advisory covering 4 CVEs |
before 0.9.8-3.15.1 | 0.9.8-3.15.1 |
libsshSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 From an advisory covering 4 CVEs |
before 0.9.8-3.15.1 | 0.9.8-3.15.1 |
libsshSUSE:Linux Micro 6.0 From an advisory covering 6 CVEs |
before 0.10.6-2.1 | 0.10.6-2.1 |
libsshSUSE:Linux Micro 6.1 From an advisory covering 6 CVEs |
before 0.10.6-slfo.1.1_2.1 | 0.10.6-slfo.1.1_2.1 |
libsshUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.6.3-3ubuntu30.6.3-4.10.6.3-4.20.6.3-4.2ubuntu10.6.3-4.3 Show 9 moreShow less0.6.3-4.3ubuntu0.10.6.3-4.3ubuntu0.20.6.3-4.3ubuntu0.50.6.3-4.3ubuntu0.60.6.3-4.3ubuntu0.6+esm10.6.3-4.3ubuntu0.6+esm20.6.3-4.3ubuntu0.6+esm30.6.3-4.3ubuntu0.6+esm40.6.3-4.3ubuntu0.6+esm5 |
None known |
libsshUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 0.7.5-10.8.0~20170825.94fa1e38-10.8.0~20170825.94fa1e38-1build10.8.0~20170825.94fa1e38-1ubuntu0.10.8.0~20170825.94fa1e38-1ubuntu0.2 Show 8 moreShow less0.8.0~20170825.94fa1e38-1ubuntu0.50.8.0~20170825.94fa1e38-1ubuntu0.60.8.0~20170825.94fa1e38-1ubuntu0.70.8.0~20170825.94fa1e38-1ubuntu0.7+esm30.8.0~20170825.94fa1e38-1ubuntu0.7+esm40.8.0~20170825.94fa1e38-1ubuntu0.7+esm50.8.0~20170825.94fa1e38-1ubuntu0.7+esm60.8.0~20170825.94fa1e38-1ubuntu0.7+esm7 |
None known |
libsshUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 0.9.0-1ubuntu10.9.0-1ubuntu40.9.0-1ubuntu50.9.3-2ubuntu10.9.3-2ubuntu2 Show 9 moreShow less0.9.3-2ubuntu2.10.9.3-2ubuntu2.20.9.3-2ubuntu2.30.9.3-2ubuntu2.40.9.3-2ubuntu2.50.9.3-2ubuntu2.5+esm10.9.3-2ubuntu2.5+esm20.9.3-2ubuntu2.5+esm30.9.3-2ubuntu2.5+esm4 |
None known |
libsshUbuntu:22.04:LTS |
before 0.9.6-2ubuntu0.22.04.4, plus listed versions 0.9.6-10.9.6-1build10.9.6-20.9.6-2build10.9.6-2ubuntu0.22.04.10.9.6-2ubuntu0.22.04.20.9.6-2ubuntu0.22.04.3 |
0.9.6-2ubuntu0.22.04.4 |
libsshUbuntu:24.04:LTS |
before 0.10.6-2ubuntu0.1, plus listed versions 0.10.5-3ubuntu10.10.5-3ubuntu20.10.6-20.10.6-2build10.10.6-2build2 |
0.10.6-2ubuntu0.1 |
libsshUbuntu:22.04:LTS From an advisory covering 7 CVEs |
before 0.9.6-2ubuntu0.22.04.4, plus listed versions 0.9.6-10.9.6-1build10.9.6-20.9.6-2build10.9.6-2ubuntu0.22.04.10.9.6-2ubuntu0.22.04.20.9.6-2ubuntu0.22.04.3 |
0.9.6-2ubuntu0.22.04.4 |
libsshUbuntu:24.04:LTS From an advisory covering 7 CVEs |
before 0.10.6-2ubuntu0.1, plus listed versions 0.10.5-3ubuntu10.10.5-3ubuntu20.10.6-20.10.6-2build10.10.6-2build2 |
0.10.6-2ubuntu0.1 |
libsshopenSUSE:Tumbleweed From an advisory covering 7 CVEs |
before 0.11.2-1.1 | 0.11.2-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | EUVD, NVD, OSV | |
| facts | CVE List, OSV | |
| affected, aliases, references | OSV | |
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-5372 is a medium vulnerability (CVSS 5.0) in Libssh, published June 25, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 43rd percentile. Fixed in libssh 0.11.2-r0.
References
access.redhat.com/errata/RHSA-2025:21977
access.redhat.com/errata/RHSA-2025:23024
access.redhat.com/errata/RHSA-2026:20610
access.redhat.com/errata/RHSA-2026:24349
access.redhat.com/errata/RHSA-2026:25911
access.redhat.com/security/cve/CVE-2025-5372
Show 65 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=2369388
nvd.nist.gov/vuln/detail/CVE-2025-5372
github.com/advisories/GHSA-59w5-j22f-h3rv
security.alpinelinux.org/vuln/CVE-2025-5372
bugzilla.redhat.com/2369388
errata.almalinux.org/8/ALSA-2025-21977.html
docs.bell-sw.com/security/cves/CVE-2025-5372
errata.tuxcare.com/els_os/centos-stream8els/CLSA-2025-1759330475.html
errata.tuxcare.com/els_os/ubuntu20.04els/CLSA-2025-1759782399.html
errata.tuxcare.com/els_os/centos8.5els/CLSA-2025-1759857168.html
errata.tuxcare.com/els_os/centos8.4els/CLSA-2025-1759951300.html
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2025-1764696522.html
access.redhat.com/downloads/content/package-browser
github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5372.json
git.libssh.org/projects/libssh.git
security-tracker.debian.org/tracker/CVE-2025-5372
advisories.mageia.org/MGASA-2026-0189.html
bugs.mageia.org/show_bug.cgi?id=34405
openwall.com/lists/oss-security/2025/06/27/2
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2127
nvd.nist.gov/vuln/detail/CVE-2025-4877
nvd.nist.gov/vuln/detail/CVE-2025-4878
nvd.nist.gov/vuln/detail/CVE-2025-5351
nvd.nist.gov/vuln/detail/CVE-2025-5987
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2128
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2129
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2130
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2132
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2294
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_21977.json
cve.org/CVERecord?id=CVE-2025-5372
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_23024.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_20610.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_24349.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_25911.json
errata.rockylinux.org/RLSA-2025:21977
suse.com/support/update/announcement/2025/suse-su-202502229-1
bugzilla.suse.com/1245309
bugzilla.suse.com/1245310
bugzilla.suse.com/1245311
bugzilla.suse.com/1245314
suse.com/security/cve/CVE-2025-4877
suse.com/security/cve/CVE-2025-4878
suse.com/security/cve/CVE-2025-5318
suse.com/security/cve/CVE-2025-5372
suse.com/support/update/announcement/2025/suse-su-202502278-1
suse.com/support/update/announcement/2025/suse-su-202502279-1
suse.com/support/update/announcement/2025/suse-su-202502281-1
suse.com/support/update/announcement/2025/suse-su-202520557-1
bugzilla.suse.com/1245312
bugzilla.suse.com/1245317
suse.com/security/cve/CVE-2025-5351
suse.com/security/cve/CVE-2025-5987
suse.com/support/update/announcement/2025/suse-su-202520596-1
ubuntu.com/security/CVE-2025-5372
libssh.org/security/advisories/CVE-2025-5372.txt
ubuntu.com/security/notices/USN-7619-1
ubuntu.com/security/CVE-2025-4877
ubuntu.com/security/CVE-2025-4878
ubuntu.com/security/CVE-2025-5318
ubuntu.com/security/CVE-2025-5351
ubuntu.com/security/CVE-2025-5449
ubuntu.com/security/CVE-2025-5987
suse.com/security/cve/CVE-2025-5449