VYPR

Libssh

by Libssh

Source repositories

CVEs (48)

  • CVE-2026-0967MedMar 26, 2026
    risk 0.36cvss 5.5epss 0.00

    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…

  • CVE-2025-5318MedJun 24, 2025
    risk 0.35cvss 5.4epss 0.02

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

  • CVE-2020-1730MedApr 13, 2020
    risk 0.35cvss 5.3epss 0.03

    A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the…

  • CVE-2026-59848MedJul 21, 2026
    risk 0.34cvss 5.3epss 0.00

    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.

  • CVE-2026-59845MedJul 21, 2026
    risk 0.34cvss 5.3epss 0.00

    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.

  • CVE-2025-8114MedJul 24, 2025
    risk 0.31cvss 4.7epss 0.00

    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…

  • CVE-2023-6004MedJan 3, 2024
    risk 0.31cvss 4.8epss 0.00

    A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This issue may allow an attacker to inject malicious code into the command of the features mentioned through the hostname parameter.

  • CVE-2025-4877MedAug 20, 2025
    risk 0.29cvss 4.5epss 0.00

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

  • CVE-2026-59850MedJul 21, 2026
    risk 0.28cvss 4.3epss 0.00

    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.

  • CVE-2025-5372MedJul 4, 2025
    risk 0.26cvss 5.0epss 0.00

    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…

  • CVE-2026-59846LowJul 21, 2026
    risk 0.25cvss 3.9epss 0.00

    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-59842LowJul 21, 2026
    risk 0.24cvss 3.7epss 0.00

    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 out-of-bounds heap read. This could allow a remote unauthenticated attacker to…

  • CVE-2023-6918LowDec 19, 2023
    risk 0.24cvss 3.7epss 0.01

    A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes,…

  • CVE-2025-4878LowJul 22, 2025
    risk 0.23cvss 3.6epss 0.00

    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…

  • CVE-2026-0965LowMar 26, 2026
    risk 0.21cvss 3.3epss 0.00

    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…

  • CVE-2026-59849LowJul 21, 2026
    risk 0.20cvss 3.1epss 0.00

    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 rejected by a server, leading to denial of service.

  • CVE-2026-0968LowMar 26, 2026
    risk 0.20cvss 3.1epss 0.00

    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…

  • CVE-2025-8277LowSep 9, 2025
    risk 0.20cvss 3.1epss 0.00

    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…

  • CVE-2023-3603LowJul 21, 2023
    risk 0.20cvss 3.1epss 0.01

    A missing allocation check in sftp server processing read requests may cause a NULL dereference on low-memory conditions. The malicious client can request up to 4GB SFTP reads, causing allocation of up to 4GB buffers, which was not being checked for failure. This will likely…

  • CVE-2012-4562Nov 30, 2012
    risk 0.01cvss epss 0.13

    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 triggers a buffer overflow, infinite loop, or possibly some other unspecified…