PatchSiren

libssh2 CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH libssh2 CVE published 2026-07-24

CVE-2026-66033

libssh2 through 1.11.1 contains a pre-authentication integer underflow vulnerability in the ssh2_cipher_crypt() function that allows a malicious SSH server to crash any connecting client by negotiating AES-GCM ciphers during handshake. This vulnerability is highly impactful as it can cause immediate process crashes before any authentication occurs, potentially disrupting service. The vulnerability is triggered by an integer underflow in the expression computing blocksize minus aadlen minus authentication tag length, leading to an out-of-bounds read and a memcpy call with a near-SIZE_MAX length argument.

HIGH libssh2 CVE published 2026-06-18

CVE-2025-15661

libssh2 through 1.11.1 contains an out-of-bounds heap read vulnerability in the sftp_symlink() function. A malicious SSH server or man-in-the-middle attacker can disclose heap memory contents or cause a crash by sending a crafted SSH_FXP_NAME response. The vulnerability allows attackers to supply a link_len value larger than the actual packet data in SSH_FXP_NAME responses for SFTP READLINK and REALPATH operations, triggering a heap buffer over-read. This issue can lead to potential disclosure of heap memory contents or a crash of affected systems. Defenders should assess exposure and prioritize verification and remediation.

CRITICAL libssh2 CVE published 2026-06-17

CVE-2026-55200

libssh2 through 1.11.1 contains an out-of-bounds write vulnerability in ssh2_transport_read() that fails to enforce upper bounds on packet_length field. Remote attackers can send crafted SSH packets with excessively large packet_length values to corrupt heap memory. This vulnerability is particularly concerning for systems and applications that use libssh2 for SSH functionality, as an attacker could exploit this vulnerability to gain unauthorized access or disrupt service. Defenders responsible for these systems should assess their exposure, verify the libssh2 version in use, and prioritize patching to version 1.11.1 or later.

HIGH libssh2 CVE published 2026-06-17

CVE-2026-55199

CVE-2026-55199 is a high-severity pre-authentication denial of service vulnerability in libssh2, allowing a malicious SSH server to cause a client CPU exhaustion loop. The vulnerability is triggered by a crafted extension count value in the SSH_MSG_EXT_INFO handler. A malicious server can set nr_extensions to 0xFFFFFFFF during key exchange, causing the client to spin in a tight CPU loop for over 60 seconds. This issue was fixed in commit 1762685. Organizations using libssh2 should update to the latest version to mitigate this vulnerability.

MEDIUM libssh2 CVE published 2026-05-01

CVE-2026-7598

CVE-2026-7598 is an integer overflow vulnerability in the userauth_password function of libssh2, a popular SSH library. The vulnerability is caused by improper handling of the username_len and password_len arguments, which can lead to an integer overflow. This vulnerability can be exploited remotely, and its successful exploitation can lead to potential security risks. The Common Vulnerability Scoring System (CVSS) score for this vulnerability is 6.9, indicating a medium severity level. A patch, identified as 256d04b60d80bf1190e96b0ad1e91b2174d744b1, has been applied to remediate this issue. Users of libssh2 are advised to update to a version that includes this patch to mitigate the vulnerability.