CVE-2025-15661: libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c
Affects libssh2Source GCVE Database
Not known to be exploited · CVSS 8.3 High : upgrade to 1.11.1_3 soon.
Data as of 9 Nov 2026, 09:07 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 1.11.1_3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 8 Nov 2026.
What to do
Upgrade libssh2 to 1.11.1_3.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewlibssh2pkg:brew/libssh2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade libssh2 to version 1.11.1_3 or later, which contains the official fix for this vulnerability as implemented in commit 2dae302. Applying this patch will prevent the heap buffer over-read by properly validating the link_len value before copying data. No other mitigation is necessary once the update is applied.
Description
A heap buffer over-read vulnerability exists in libssh2 through version 1.11.1_3 in the sftp_symlink() function. This flaw 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 with an invalid link_len value. The issue is fixed in version 1.11.1_3.
References
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15661.json (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-15661 (opens in a new tab)
- vulncheck.com/advisories/libssh2-heap-buffer-over-read-via-sftp-symlink-in-sftp-c (opens in a new tab)
- github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721d (opens in a new tab)
- github.com/libssh2/libssh2/pull/1705 (opens in a new tab)
- github.com/libssh2/libssh2/pull/1717 (opens in a new tab)
- github.com/libssh2/libssh2 (opens in a new tab)