p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de libssh

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

RSS ↗
Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 20

  1. CVE-2026-59850

    Media · CVSS 4.3EPSS 0,35%Corrección disponible

    Libssh: libssh: use-after-free via data callbacks on closed channels

    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.

    • Actualiza a 0.10.6-2ubuntu0.5
    Publicación Actualización
  2. CVE-2026-59848

    Media · CVSS 5.3EPSS 0,34%Corrección disponible

    Libssh: libssh: denial of service via sftp responses with unknown request ids

    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.

    • Actualiza a 0.10.6-2ubuntu0.5
    Publicación Actualización
  3. CVE-2026-59847

    Media · CVSS 5.9EPSS 0,33%Corrección disponible

    Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification

    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.

    • Actualiza a 0.10.6-2ubuntu0.5
    Publicación Actualización
  4. CVE-2026-59846

    Baja · CVSS 3.9EPSS 0,12%Corrección disponible

    Libssh: libssh: information disclosure via proxycommand %r username expansion

    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.

    • Actualiza a 0.10.6-2ubuntu0.5
    Publicación Actualización
  5. CVE-2026-59845

    Media · CVSS 5.3EPSS 0,1%Corrección disponible

    Libssh: libssh: denial of service via unchecked proxycommand fork() failure

    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.

    • Actualiza a 0.10.6-2ubuntu0.5
    Publicación Actualización
  6. CVE-2026-59843

    Media · CVSS 6.5EPSS 0,73%Corrección disponible

    Libssh: libssh: denial of service via zero advertised channel packet size

    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.

    • Actualiza a 0.10.6-2ubuntu0.5
    Publicación Actualización
  7. CVE-2026-0965

    Baja · CVSS 3.3EPSS 0,16%Corrección disponible

    Libssh: libssh: denial of service via improper configuration file handling

    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.

    • Actualiza a 0.10.6-2ubuntu0.3
    Publicación Actualización
  8. CVE-2026-0967

    Baja · CVSS 2.2EPSS 0,23%Corrección disponible

    Libssh: libssh: denial of service via inefficient regular expression processing

    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.

    • Actualiza a 0.10.6-2ubuntu0.3
    Publicación Actualización
  9. CVE-2026-0968

    Baja · CVSS 3.1EPSS 0,46%Corrección disponible

    Libssh: libssh: denial of service due to malformed sftp message

    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.

    • Actualiza a 0.10.6-2ubuntu0.3
    Publicación Actualización
  10. CVE-2026-0964

    Media · CVSS 5EPSS 0,42%Corrección disponible

    Libssh: improper sanitation of paths received from scp servers

    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.

    • Actualiza a 0.10.6-2ubuntu0.3
    Publicación Actualización
  11. CVE-2026-0966

    Media · CVSS 6.5EPSS 0,6%Corrección disponible

    Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()

    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.

    • Actualiza a 0.10.6-2ubuntu0.3
    Publicación Actualización
  12. CVE-2026-3731

    Media · CVSS 6.9EPSS 1,2%Corrección disponible

    libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds

    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.

    • Actualiza a 0.10.6-2ubuntu0.4
    Publicación Actualización
  13. CVE-2025-8277

    Baja · CVSS 3.1EPSS 0,43%Corrección disponible

    Libssh: memory exhaustion via repeated key exchange in libssh

    A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability.

    • Actualiza a 0.10.6-2ubuntu0.3
    Publicación Actualización
  14. CVE-2025-4877

    Media · CVSS 4.5EPSS 0,2%Corrección disponible

    Libssh: write beyond bounds in binary to base64 conversion functions

    There's a vulnerability in the libssh package where when a libssh consumer passes in an unexpectedly large input buffer to ssh_get_fingerprint_hash() function. In such cases the bin_to_base64() function can experience an integer overflow leading to a memory under allocation, when that happens it's possible that the program perform out of bounds write leading to a heap corruption. This issue affects only 32-bits builds of libssh.

    • Actualiza a 0.10.6-2ubuntu0.1
    Publicación Actualización
  15. CVE-2025-8114

    Media · CVSS 4.7EPSS 0,24%Corrección disponible

    Libssh: null pointer dereference in libssh kex session id calculation

    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.

    • Actualiza a 0.10.6-2ubuntu0.2
    Publicación Actualización
  16. CVE-2025-4878

    Baja · CVSS 3.6EPSS 0,23%Corrección disponible

    Libssh: use of uninitialized variable in privatekey_from_file()

    A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn't exist and may lead to possible signing failures or heap corruption.

    • Actualiza a 0.10.6-2ubuntu0.1
    Publicación Actualización
  17. CVE-2025-5987

    Alta · CVSS 8.1EPSS 1,73%Corrección disponible

    Libssh: invalid return code for chacha20 poly1305 with openssl backend

    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 occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.

    • Actualiza a 0.10.6-2ubuntu0.1
    Publicación Actualización
  18. CVE-2025-5351

    Media · CVSS 6.5EPSS 0,61%Corrección disponible

    Libssh: double free vulnerability in libssh key export functions

    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 cleared, leading to a potential double free issue if an additional failure occurs later in the function. This condition may result in heap corruption or application instability in low-memory scenarios, posing a risk to system reliability where key export operations are performed.

    • Actualiza a 0.10.6-2ubuntu0.1
    Publicación Actualización
  19. CVE-2025-5372

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

    Libssh: incorrect return code handling in ssh_kdf() in libssh

    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 failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.

    • Actualiza a 0.10.6-2ubuntu0.1
    Publicación Actualización
  20. CVE-2025-5318

    Media · CVSS 5.4EPSS 1,84%Corrección disponible

    Libssh: out-of-bounds read in sftp_handle()

    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 handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.

    • Actualiza a 0.10.6-2ubuntu0.1
    Publicación Actualización

Comprueba tu servidor

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

Comprueba tu servidor →