CVE-2025-15661: high-severity vulnerability in libssh2
libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.3epss 0.6%
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.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products
libssh2 · libssh2Related CVEs — libssh2
In the same product, most dangerous first.
CVE-2026-55200CRITICALlibssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.cEPSS 3.9%CVE-2026-55199HIGHlibssh2 - Pre-Authentication DoS via SSH_MSG_EXT_INFO HandlerEPSS 0.9%CVE-2026-66033HIGHlibssh2 Integer Underflow DoS via AES-GCM Cipher NegotiationEPSS 0.6%CVE-2026-66035HIGHlibssh2 Heap Buffer Overflow via ETM Cipher NegotiationEPSS 0.5%CVE-2026-66032HIGHlibssh2 Double-Free Heap Corruption via sftp_open()EPSS 0.4%CVE-2026-58050HIGHlibssh2 - Integer Overflow in publickey Subsystem Attribute AllocationEPSS 0.4%