Libssh vulnerabilities
45 CVEs affecting Libssh, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-59851, published 2026-07-21.
More from Libssh.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2018-10933, published 2018-10-17. Critical severity, CVSS 9.1. EPSS: 92% probability of exploitation activity in the next 30 days. A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4. A malicious client could create channels without first performing authentication, resulting in…
- CVE-2023-48795, published 2023-12-18. Medium severity, CVSS 5.9. EPSS: 36% probability of exploitation activity in the next 30 days. The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from…
- CVE-2012-4562, published 2012-11-30. High severity, CVSS 7.5. EPSS: 13% probability of exploitation activity in the next 30 days. Multiple integer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (infinite loop or crash) and possibly execute arbitrary code via unspecified vectors, which…
- CVE-2012-4560, published 2012-11-30. High severity, CVSS 7.5. EPSS: 6.5% probability of exploitation activity in the next 30 days. Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via unspecified vectors.
- CVE-2012-4559, published 2012-11-30. Medium severity, CVSS 6.8. EPSS: 5.2% probability of exploitation activity in the next 30 days. Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3…
- CVE-2014-8132, published 2014-12-29. Medium severity, CVSS 5.0. EPSS: 5.1% probability of exploitation activity in the next 30 days. Double free vulnerability in the ssh_packet_kexinit function in kex.c in libssh 0.5.x and 0.6.x before 0.6.4 allows remote attackers to cause a denial of service via a crafted kexinit packet.
- CVE-2012-4561, published 2012-11-30. Medium severity, CVSS 5.0. EPSS: 4.8% probability of exploitation activity in the next 30 days. The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free "an invalid pointer on an…
- CVE-2021-3634, published 2021-08-31. Medium severity, CVSS 6.5. EPSS: 4.7% probability of exploitation activity in the next 30 days. A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other…
- CVE-2020-16135, published 2020-07-29. Medium severity, CVSS 5.9. EPSS: 4.1% probability of exploitation activity in the next 30 days. libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.
- CVE-2015-3146, published 2016-04-13. High severity, CVSS 7.5. EPSS: 4.0% probability of exploitation activity in the next 30 days. The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state, which allows remote attackers to cause a denial of service…
Latest
- CVE-2026-59851, published 2026-07-21. High severity, CVSS 8.8. EPSS: 0.5% probability of exploitation activity in the next 30 days. 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,…
- CVE-2026-59850, published 2026-07-21. High severity, CVSS 7.5. EPSS: 0.3% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59849, published 2026-07-21. High severity, CVSS 7.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59848, published 2026-07-21. Medium severity, CVSS 5.3. EPSS: 0.3% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59847, published 2026-07-21. High severity, CVSS 7.5. EPSS: 0.3% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59846, published 2026-07-21. Low severity, CVSS 3.9. EPSS: 0.1% probability of exploitation activity in the next 30 days. 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.
- CVE-2026-59845, published 2026-07-21. Medium severity, CVSS 5.9. EPSS: 0.1% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59844, published 2026-07-21. Medium severity, CVSS 6.5. EPSS: 0.7% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59843, published 2026-07-21. Medium severity, CVSS 6.5. EPSS: 0.7% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-59842, published 2026-07-21. Medium severity, CVSS 5.3. EPSS: 0.5% probability of exploitation activity in the next 30 days. 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…