Out-of-bounds Read Affecting libssh2-devel package, versions <1.11.0-150200.9.8.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Social Trends
EPSS
1.03% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES155-LIBSSH2DEVEL-18591925
  • published8 Aug 2026
  • disclosed7 Aug 2026

Introduced: 7 Aug 2026

NewCVE-2025-15661  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 libssh2-devel to version 1.11.0-150200.9.8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2-devel package and not the libssh2-devel package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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 Base Scores

version 3.1