VulnSea

libssh vulnerabilities

CVEs whose affected-version data names the libssh package. Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

12 CVEsRSS

CVE-2026-59847Medium· 5.9
2mo ago

A flaw was found in libssh

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.

Sunlitlibssh · libsshEPSS 0.33%via NVD
CVE-2026-0968Low· 3.1
6mo ago

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

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 c…

Sunlitlibssh · libsshEPSS 0.44%via NVD
CVE-2026-0967Medium· 5.5
6mo ago

A flaw was found in libssh

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 expressio…

Sunlitlibssh · libsshEPSS 0.22%via NVD
CVE-2026-0965Low· 3.3
6mo ago

A flaw was found in libssh where it can attempt to open arbitrary files during configuration parsing

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 c…

Sunlitlibssh · libsshEPSS 0.16%via NVD
CVE-2026-0966High· 8.2
6mo ago

A flaw was found in libssh

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 Progr…

Twilightlibssh · libsshEPSS 0.58%via NVD
CVE-2026-0964Medium· 6.3
6mo ago

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 exec…

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 exec…

Sunlitlibssh · libsshEPSS 0.41%via NVD
CVE-2025-5449Medium· 6.5
1y ago

A flaw was found in the SFTP server message decoding logic of libssh

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 faile…

Sunlitlibssh · libsshEPSS 0.84%via NVD
CVE-2025-8114Medium· 4.7
1y ago

A flaw was found in libssh, a library that implements the SSH protocol

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 …

Sunlitlibssh · libsshEPSS 0.22%via NVD
CVE-2025-5987High· 8.1
1y ago

A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library

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 oc…

Twilightlibssh · libsshEPSS 1.5%via NVD
CVE-2025-5372Medium· 5.0
1y ago

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

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 f…

Sunlitlibssh · libsshEPSS 0.43%via NVD
CVE-2025-5351Medium· 6.5
1y ago

A flaw was found in the key export functionality of libssh

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 clear…

Sunlitlibssh · libsshEPSS 0.53%via NVD
CVE-2025-5318Medium· 5.4
1y ago

A flaw was found in the libssh library in versions less than 0.11.2

A flaw was found in the libssh library in versions less than 0.11.2. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid hand…

Sunlitredhat · openshift_container_platformEPSS 1.7%via NVD
libssh vulnerabilities (CVEs) · VulnSea