CVE-2025-15661: libssh2 · Out-of-bounds Read
Affects libssh2Source CVE Database V5
Not known to be exploited · CVSS 8.3 High.
Data as of 8 Nov 2026, 14:20 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Limited control over the software or limited information exposure
CISA SSVC assessment, 2026-06-22.
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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libssh2libssh2 | Affected
| Fixed in– |
GitHublibssh2pkg:github/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
A fix for this vulnerability is available in libssh2 as of commit 2dae302. Users should upgrade to a version that includes this fix. No other mitigation or temporary workaround is indicated.
Description
CVE-2025-15661 is an out-of-bounds heap read vulnerability in libssh2 versions up to 1.11.1. The flaw exists in the sftp_symlink() function, where a malicious SSH server or man-in-the-middle attacker can send a crafted SSH_FXP_NAME response with an oversized link_len value. This triggers a heap buffer over-read, potentially disclosing heap memory contents or causing a crash. The issue arises from missing validation of the packet buffer size before a memcpy operation. The vulnerability has a high severity score of 8.3 and was fixed in a commit identified as 2dae302.
References
- 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/commit/2dae3024897e1898d389835151f4e9606227721d (opens in a new tab)
- vulncheck.com/advisories/libssh2-heap-buffer-over-read-via-sftp-symlink-in-sftp-c (opens in a new tab)