Skip to main content
VulnerabilityPublished Updated

CVE-2025-15661: libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c

Affects libssh2Source GCVE Database

0
Compare
Authoritative record:CVE-2025-15661· High 8.3

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

CVSS 4.0 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.3
CNA (VulnCheck)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Homebrewlibssh2pkg:brew/libssh2Other threatsAffected
  • <1.11.1_3
Fixed in
  • 1.11.1_3

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

Community reviews

Loading reviews…