← Back

Libssh

libssh

Vendor: Libssh • 45 CVEs

CVEs (45)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Aug 17, 2026
Jul 21, 2026
N/A· v4
8.8 HIGH· v3
N/A· v2
A flaw was found in libssh. On servers with GSSAPIKeyExchange enabled, the gssapi-keyex path does not verify whether the authenticated Kerberos principal is authorized for the requested local user, allowing authenticated...Show more
A flaw was found in libssh. On servers with GSSAPIKeyExchange enabled, the gssapi-keyex path does not verify whether the authenticated Kerberos principal is authorized for the requested local user, allowing authenticated clients to log in as arbitrary users.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 1, 2026
Jul 21, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
A flaw was found in libssh. If data packets are processed after a channel is closed, channel data callbacks can be invoked after the associated data has already been freed, leading to crashes or possible use-after-free c...Show more
A flaw was found in libssh. If data packets are processed after a channel is closed, channel data callbacks can be invoked after the associated data has already been freed, leading to crashes or possible use-after-free conditions.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Aug 19, 2026
Jul 21, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
A flaw was found in libssh. Logic errors in automatic certificate-based public key authentication can cause libssh clients to loop indefinitely when configured certificates are missing or repeatedly rejected by a server,...Show more
A flaw was found in libssh. Logic errors in automatic certificate-based public key authentication can cause libssh clients to loop indefinitely when configured certificates are missing or repeatedly rejected by a server, leading to denial of service.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 1, 2026
Jul 21, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
A flaw was found in libssh. A malicious SFTP server can send responses for unknown request IDs that libssh clients keep queued indefinitely, causing unbounded memory growth and client-side denial of service.
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 4, 2026
Jul 21, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without dete...Show more
A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 1, 2026
Jul 21, 2026
N/A· v4
3.9 LOW· v3
N/A· v2
A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior.
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 1, 2026
Jul 21, 2026
N/A· v4
5.9 MEDIUM· v3
N/A· v2
A flaw was found in libssh. When ProxyCommand is used, an unchecked fork() failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local de...Show more
A flaw was found in libssh. When ProxyCommand is used, an unchecked fork() failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local denial of service.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 1, 2026
Jul 21, 2026
N/A· v4
6.5 MEDIUM· v3
N/A· v2
A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through rep...Show more
A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through repeated requests.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Sep 1, 2026
Jul 21, 2026
N/A· v4
6.5 MEDIUM· v3
N/A· v2
A flaw was found in libssh. A remote authenticated peer can advertise a zero maximum packet size in SSH_MSG_CHANNEL_OPEN, causing later channel writes to loop indefinitely and consume CPU, leading to denial of service.
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Aug 19, 2026
Jul 21, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is copied without proper length validation, leading to an out-of-bounds heap re...Show more
A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is copied without proper length validation, leading to an out-of-bounds heap read. This could allow a remote unauthenticated attacker to disclose small amounts of server memory.Show less
2Libssh
Redhat
3Enterprise Linux
Hardened ImagesLibssh
Aug 17, 2026
Jul 21, 2026
N/A· v4
7.3 HIGH· v3
N/A· v2
A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled fi...Show more
A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can overflow that stack buffer and may lead to crashes or possible code execution on the server.Show less
2Libssh
Redhat
2Hardened Images
Libssh
Aug 31, 2026
Apr 7, 2026
N/A· v4
7.0 HIGH· v3
N/A· v2
A flaw was found in libssh. This vulnerability allows local man-in-the-middle attacks, security downgrades of SSH (Secure Shell) connections, and manipulation of trusted host information, posing a significant risk to the...Show more
A flaw was found in libssh. This vulnerability allows local man-in-the-middle attacks, security downgrades of SSH (Secure Shell) connections, and manipulation of trusted host information, posing a significant risk to the confidentiality, integrity, and availability of SSH communications via an insecure default configuration on Windows systems where the library automatically loads configuration files from the C:\etc directory, which can be created and modified by unprivileged local users.Show less
2Libssh
Redhat
2Enterprise Linux
Libssh
Sep 1, 2026
Mar 26, 2026
N/A· v4
3.1 LOW· v3
N/A· v2
A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending a malformed 'longname' field within an `SSH_FXP_NAME` message during a file listing operation. This mis...Show more
A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending a malformed 'longname' field within an `SSH_FXP_NAME` message during a file listing operation. This missing null check can lead to reading beyond allocated memory on the heap. This can cause unexpected behavior or lead to a denial of service (DoS) due to application crashes.Show less
2Libssh
Redhat
2Enterprise Linux
Libssh
Sep 1, 2026
Mar 26, 2026
N/A· v4
5.5 MEDIUM· v3
N/A· v2
A flaw was found in libssh. A remote attacker, by controlling client configuration files or known_hosts files, could craft specific hostnames that when processed by the `match_pattern()` function can lead to inefficient...Show more
A flaw was found in libssh. A remote attacker, by controlling client configuration files or known_hosts files, could craft specific hostnames that when processed by the `match_pattern()` function can lead to inefficient regular expression backtracking. This can cause timeouts and resource exhaustion, resulting in a Denial of Service (DoS) for the client.Show less
2Libssh
Redhat
4Enterprise Linux
Hardened ImagesLibssh+1 more
Sep 1, 2026
Mar 26, 2026
N/A· v4
8.2 HIGH· v3
N/A· v2
A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Generic Security Service...Show more
A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Generic Security Service Application Program Interface) authentication if the server's logging verbosity is set to `SSH_LOG_PACKET (3)` or higher. Successful exploitation could lead to a self-Denial of Service of the per-connection daemon process.Show less
2Libssh
Redhat
2Enterprise Linux
Libssh
Sep 1, 2026
Mar 26, 2026
N/A· v4
3.3 LOW· v3
N/A· v2
A flaw was found in libssh where it can attempt to open arbitrary files during configuration parsing. A local attacker can exploit this by providing a malicious configuration file or when the system is misconfigured. Thi...Show more
A flaw was found in libssh where it can attempt to open arbitrary files during configuration parsing. A local attacker can exploit this by providing a malicious configuration file or when the system is misconfigured. This vulnerability could lead to a Denial of Service (DoS) by causing the system to try and access dangerous files, such as block devices or large system files, which can disrupt normal operations.Show less
2Libssh
Redhat
4Enterprise Linux
Hardened ImagesLibssh+1 more
Sep 1, 2026
Mar 26, 2026
N/A· v4
6.3 MEDIUM· v3
N/A· v2
A malicious SCP server can send unexpected paths that could make the client application override local files outside of working directory. This could be misused to create malicious executable or configuration files and m...Show more
A malicious SCP server can send unexpected paths that could make the client application override local files outside of working directory. This could be misused to create malicious executable or configuration files and make the user execute them under specific consequences. This is the same issue as in OpenSSH, tracked as CVE-2019-6111.Show less
1Libssh
1Libssh
Jun 17, 2026
Mar 8, 2026
6.9 MEDIUM· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing...Show more
A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.Show less
1Libssh
1Libssh
Aug 31, 2026
Jul 25, 2025
N/A· v4
6.5 MEDIUM· v3
N/A· v2
A flaw was found in the SFTP server message decoding logic of libssh. The issue occurs due to an incorrect packet length check that allows an integer overflow when handling large payload sizes on 32-bit systems. This iss...Show more
A flaw was found in the SFTP server message decoding logic of libssh. The issue occurs due to an incorrect packet length check that allows an integer overflow when handling large payload sizes on 32-bit systems. This issue leads to failed memory allocation and causes the server process to crash, resulting in a denial of service.Show less
1Libssh
1Libssh
Sep 1, 2026
Jul 24, 2025
N/A· v4
4.7 MEDIUM· v3
N/A· v2
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 d...Show more
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.Show less