Search for packages
Package details: pkg:deb/debian/libssh@0.10.6-0%2Bdeb12u1
purl pkg:deb/debian/libssh@0.10.6-0%2Bdeb12u1
Next non-vulnerable version 0.11.2-1
Latest non-vulnerable version 0.11.2-1
Risk 2.5
Vulnerabilities affecting this package (6)
Vulnerability Summary Fixed by
VCID-2shb-tf15-ckab
Aliases:
CVE-2025-5351
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.
0.11.2-1
Affected by 0 other vulnerabilities.
VCID-3gze-mcs1-b7hb
Aliases:
CVE-2025-5372
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.
0.11.2-1
Affected by 0 other vulnerabilities.
VCID-42jz-k5rb-uud3
Aliases:
CVE-2025-4878
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.
0.11.2-1
Affected by 0 other vulnerabilities.
VCID-86yu-83pe-hyfs
Aliases:
CVE-2025-5987
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.
0.11.2-1
Affected by 0 other vulnerabilities.
VCID-kagj-gtbn-4ydq
Aliases:
CVE-2025-5318
A flaw was found in the libssh library. 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.
0.11.2-1
Affected by 0 other vulnerabilities.
VCID-psp1-acpb-zbh1
Aliases:
CVE-2025-4877
0.11.2-1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2025-08-01T13:24:15.706455+00:00 Debian Importer Affected by VCID-42jz-k5rb-uud3 https://security-tracker.debian.org/tracker/data/json 37.0.0
2025-08-01T13:20:36.323151+00:00 Debian Importer Affected by VCID-2shb-tf15-ckab https://security-tracker.debian.org/tracker/data/json 37.0.0
2025-08-01T13:19:10.028613+00:00 Debian Importer Affected by VCID-psp1-acpb-zbh1 https://security-tracker.debian.org/tracker/data/json 37.0.0
2025-08-01T13:14:51.783305+00:00 Debian Importer Affected by VCID-3gze-mcs1-b7hb https://security-tracker.debian.org/tracker/data/json 37.0.0
2025-08-01T12:52:14.533636+00:00 Debian Importer Affected by VCID-kagj-gtbn-4ydq https://security-tracker.debian.org/tracker/data/json 37.0.0
2025-08-01T12:24:02.918610+00:00 Debian Importer Affected by VCID-86yu-83pe-hyfs https://security-tracker.debian.org/tracker/data/json 37.0.0