libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10).
Security Fix(es):
libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read vulnerability in the sftpsymlink() 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 SSHFXPNAME response. Attackers can supply a linklen value larger than the actual packet data in SSHFXPNAME 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-2025-15661)
{
"severity": "Medium"
}{
"x86_64": [
"libssh2-1.9.0-12.oe2003sp4.x86_64.rpm",
"libssh2-debuginfo-1.9.0-12.oe2003sp4.x86_64.rpm",
"libssh2-debugsource-1.9.0-12.oe2003sp4.x86_64.rpm",
"libssh2-devel-1.9.0-12.oe2003sp4.x86_64.rpm"
],
"aarch64": [
"libssh2-1.9.0-12.oe2003sp4.aarch64.rpm",
"libssh2-debuginfo-1.9.0-12.oe2003sp4.aarch64.rpm",
"libssh2-debugsource-1.9.0-12.oe2003sp4.aarch64.rpm",
"libssh2-devel-1.9.0-12.oe2003sp4.aarch64.rpm"
],
"noarch": [
"libssh2-help-1.9.0-12.oe2003sp4.noarch.rpm"
],
"src": [
"libssh2-1.9.0-12.oe2003sp4.src.rpm"
]
}