CVE-2025-15661
HIGH
MEDIUM
Priority: 0.05
BB Relevance:
77/100
Published: 2026-06-18
Modified: 2026-11-10
First seen: 2026-11-08
Status: active
Attack Surface
Network
Low Complexity
No Auth
No Interaction
CVSS Vector Breakdown
AV:
Network
AC:
High
PR:
None
UI:
None
S:
X
AT:
None
VC:
Low
VI:
None
VA:
High
Description
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.
Weakness Classification (1)
Affected Software (3)
References & Advisories (5)
third-party-advisory
patch
issue-tracking
patch
issue-tracking
patch