Out-of-bounds Read in Libssh2

CVE-2025-15661

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 conten…

Vulnerability class: Buffer Overflow

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H.

Affected products

  • Libssh2 — versions 0, 2dae3024897e1898d389835151f4e9606227721d

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-15661?
CVE-2025-15661 is a medium-severity vulnerability in Libssh2, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2026-06-18.
How severe is CVE-2025-15661?
Medium severity. CVSS v3 base score is 6.5 out of 10.