DLA-4773-1
Active Unknownlibssh2 - security update
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 6 records
Shared by all 6 CVE relationships
Exact relationship value
advisory_listExact field value
DSA/DLA structured-text list| CVE | Publisher evidence |
|---|---|
| CVE-2025-15661 | https://security-tracker.debian.org/tracker/CVE-2025-15661 |
| CVE-2026-58050 | https://security-tracker.debian.org/tracker/CVE-2026-58050 |
| CVE-2026-58051 | https://security-tracker.debian.org/tracker/CVE-2026-58051 |
| CVE-2026-66032 | https://security-tracker.debian.org/tracker/CVE-2026-66032 |
| CVE-2026-66034 | https://security-tracker.debian.org/tracker/CVE-2026-66034 |
| CVE-2026-7598 | https://security-tracker.debian.org/tracker/CVE-2026-7598 |
Description
CVE-2025-15661: 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
Read full publisher description 3304 characters
CVE-2025-15661: 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. CVE-2026-58050: 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. CVE-2026-58051: 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. CVE-2026-66032: 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. CVE-2026-66034: 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 from a non-zeroed realloc() region. CVE-2026-7598: 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.
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to this occurrence- Package role
- Source package
- Ecosystem
- Debian:bookworm
- Fixed version
- 1.10.0-3+deb12u1
Affected ranges and events
-
ECOSYSTEM
- Fixed at 1.10.0-3+deb12u1
-
1libssh2Source package
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
7- DLA-4773-1 https://www.debian.org/lts/security/2026/dla-4773
- CVE-2025-15661 https://security-tracker.debian.org/tracker/CVE-2025-15661
- CVE-2026-58050 https://security-tracker.debian.org/tracker/CVE-2026-58050
- CVE-2026-58051 https://security-tracker.debian.org/tracker/CVE-2026-58051
- CVE-2026-66032 https://security-tracker.debian.org/tracker/CVE-2026-66032
- CVE-2026-66034 https://security-tracker.debian.org/tracker/CVE-2026-66034
- CVE-2026-7598 https://security-tracker.debian.org/tracker/CVE-2026-7598
Provenance
- Schema version
- Unknown
- Parser version
- debian-dsa-dla-tracker/1
- Attribution
- Debian Security Team
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| structured_advisory_list | https://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DLA/list | Unknown | 7e03a0d2db2c558fe67fa638b0c274436e77995fd946d0e6049cc3e2ed731e3d | debian-dsa-dla-tracker/1 | Unknown |