p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de libssh2

Vulnerabilidades publicadas para libssh2 en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 20

  1. CVE-2026-66034

    Alta · CVSS 7.7EPSS 0,4%Corrección disponible

    libssh2 Heap Out-of-Bounds Read via publickey subsystem

    libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer fr

    • Actualiza a 1.10.0-3+deb12u1
    Publicación Actualización
  2. CVE-2026-66032

    Alta · CVSS 8.7EPSS 0,45%Corrección disponible

    libssh2 Double-Free Heap Corruption via sftp_open()

    libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftp_open() function in src/sftp.c that allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session. When a server responds to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.

    • Actualiza a 1.10.0-3+deb12u1
    Publicación Actualización
  3. CVE-2026-58051

    Alta · CVSS 8.3EPSS 0,28%Corrección disponible

    libssh2 - Free of Uninitialized Pointer in publickey List Cleanup

    libssh2 through 1.11.1 grows its publickey list with SSH2_REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2_publickey_list_free operating on an uninitialized entry. A malicious SSH server offering the publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client.

    • Actualiza a 1.10.0-3+deb12u1
    Publicación Actualización
  4. CVE-2026-58050

    Alta · CVSS 8.3EPSS 0,44%Corrección disponible

    libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation

    libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.

    • Actualiza a 1.10.0-3+deb12u1
    Publicación Actualización
  5. CVE-2025-15661

    Alta · CVSS 8.3EPSS 0,65%Corrección disponible

    libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c

    libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read vulnerability in the sftp_symlink() function in src/sftp.c that allows a malicious SSH server or man-in-the-middle attacker to disclose heap memory contents or cause a crash by sending a crafted SSH_FXP_NAME response. Attackers can 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 of up to target_len minus one bytes due to the missing validation of available packet buffer size before the memcpy operation.

    • Actualiza a 1.10.0-3+deb12u1
    Publicación Actualización
  6. CVE-2026-7598

    Media · CVSS 6.9EPSS 0,82%Corrección disponible

    libssh2 userauth.c userauth_password integer overflow

    A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len leads to integer overflow. The attack may be launched remotely. The name of the patch is 256d04b60d80bf1190e96b0ad1e91b2174d744b1. A patch should be applied to remediate this issue.

    • Actualiza a 1.10.0-3+deb12u1
    Publicación Actualización
  7. CVE-2019-17498

    Alta · CVSS 8.1EPSS 3,81%Corrección disponible

    CVE-2019-17498

    In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

    • Actualiza a 1.9.0-1
    Publicación Actualización
  8. CVE-2019-13115

    Alta · CVSS 8.1EPSS 11,66%Corrección disponible

    CVE-2019-13115

    In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds read in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.

    • Actualiza a 1.9.0-1
    Publicación Actualización
  9. CVE-2019-3856

    Alta · CVSS 7.5EPSS 6,13%Corrección disponible

    CVE-2019-3856

    An integer overflow flaw, which could lead to an out of bounds write, was discovered in libssh2 before 1.8.1 in the way keyboard prompt requests are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  10. CVE-2019-3857

    Alta · CVSS 7.5EPSS 6,13%Corrección disponible

    CVE-2019-3857

    An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit signal are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  11. CVE-2019-3861

    Media · CVSS 5EPSS 5,12%Corrección disponible

    CVE-2019-3861

    An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH packets with a padding length value greater than the packet length are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  12. CVE-2019-3863

    Alta · CVSS 7.5EPSS 3,44%Corrección disponible

    CVE-2019-3863

    A flaw was found in libssh2 before 1.8.1 creating a vulnerability on the SSH client side. A server could send a multiple keyboard interactive response messages whose total length are greater than unsigned char max characters. This value is used by the SSH client as an index to copy memory causing in an out of bounds memory write error.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  13. CVE-2019-3858

    Media · CVSS 5EPSS 6,45%Corrección disponible

    CVE-2019-3858

    An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  14. CVE-2019-3855

    Alta · CVSS 7.5EPSS 9,29%Corrección disponible

    CVE-2019-3855

    An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  15. CVE-2019-3862

    Alta · CVSS 7.3EPSS 7,9%Corrección disponible

    CVE-2019-3862

    An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit status message and no payload are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  16. CVE-2019-3859

    Crítica · CVSS 9.1EPSS 6,28%Corrección disponible

    CVE-2019-3859

    An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the _libssh2_packet_require and _libssh2_packet_requirev functions. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

    • Actualiza a 1.8.0-2.1
    Publicación Actualización
  17. CVE-2016-0787

    Media · CVSS 5.9EPSS 2,59%Corrección disponible

    CVE-2016-0787

    The diffie_hellman_sha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or 256 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug."

    • Actualiza a 1.5.0-2.1
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →