Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-15661

Fixed in a distro release EPSS <1%CVSS 6.5

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.

Published 2026-06-18 · CVE record · OSV

Products: libssh2

Distro releases

ReleasePackageFixed in
Alpine 3.21libssh21.11.1-r3
Alpine 3.22libssh21.11.1-r3
Alpine 3.23libssh21.11.1-r4
Alpine 3.24libssh21.11.1-r4
Alpine 3.24rust1.96.1-r0
Chainguardlibssh21.11.1-r7
Chainguardlibssh2-dev1.11.1-r7
Chainguardlibssh2-doc1.11.1-r7
Debian 12libssh21.10.0-3+deb12u1
Debian 13libssh21.11.1-1+deb13u1
Debian 14libssh21.11.1-4
Red Hat hummingbird 1libssh20:1.11.1-9.hum1
Red Hat hummingbird 1libssh2-devel0:1.11.1-9.hum1
Red Hat hummingbird 1libssh2-docs0:1.11.1-9.hum1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSlibssh2_org1.11.0-150000.4.35.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSlibssh2_org1.11.0-150000.4.35.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Micro 5.3libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Micro 5.4libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Micro 5.5libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Module for Basesystem 15 SP7libssh2_org1.11.0-150600.20.6.1
SUSE Linux Enterprise Server 12 SP5-LTSSlibssh2_org1.11.0-29.18.1
SUSE Linux Enterprise Server 15 SP4-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server 15 SP4-LTSSlibssh2_org1.11.0-150000.4.35.1
SUSE Linux Enterprise Server 15 SP5-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server 15 SP6-LTSSlibssh2_org1.11.0-150600.20.6.1
SUSE Linux Enterprise Server 16.0libssh2_org1.11.1-160000.5.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5libssh2_org1.11.0-29.18.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6libssh2_org1.11.0-150600.20.6.1
SUSE Linux Enterprise Server for SAP applications 16.0libssh2_org1.11.1-160000.5.1
SUSE Linux Micro 6.0libssh2_org1.11.0-4.1
SUSE Linux Micro 6.1libssh2_org1.11.0-slfo.1.1_2.1
SUSE Linux Micro 6.2libssh2_org1.11.1-160000.5.1
Ubuntu 22.04 LTSlibssh2no fix
Ubuntu 24.04 LTSlibssh21.11.0-4.1ubuntu0.24.04.2
Ubuntu 25.10libssh21.11.1-1ubuntu0.25.10.2
Ubuntu 26.04 LTSlibssh21.11.1-1ubuntu0.26.04.2
Ubuntu Pro 14.04 LTSlibssh2no fix
Ubuntu Pro 16.04 LTSlibssh2no fix
Ubuntu Pro 18.04 LTSlibssh2no fix
Ubuntu Pro 20.04 LTSlibssh2no fix
Wolfilibssh21.11.1-r7
Wolfilibssh2-dev1.11.1-r7
Wolfilibssh2-doc1.11.1-r7
openSUSE Leap 16.0libssh2_org1.11.1-160000.5.1
openSUSE Tumbleweedlibssh2_org1.11.1-3.1