Skip to content
Fencer Vulns
medium 6.5

CVE-2025-15661 json

libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c

published 2026-06-18 4 mo ago modified 2026-11-08 27 h ago also EUVD-2025-210285 , GHSA-3wqh-87fg-ffgg , JLSEC-2026-659

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia LibSSH2_jll 1.11.102+0
  • libssh2 Debian 12 1.10.0-3+deb12u1
  • libssh2 Debian 13 1.11.1-1+deb13u1
  • libssh2 Debian 14 1.11.1-4

debian advisories DEBIAN-CVE-2025-15661

  • libssh2 Ubuntu 24.04 LTS 1.11.0-4.1ubuntu0.24.04.2
  • libssh2 Ubuntu 25.10 1.11.1-1ubuntu0.25.10.2
  • libssh2 Ubuntu 26.04 LTS 1.11.1-1ubuntu0.26.04.2

ubuntu advisories UBUNTU-CVE-2025-15661

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libssh2 hummingbird 1 1.11.1-9.hum1

red hat advisories RHSA-2026:30132

  • libssh2_org SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 1.11.0-150000.4.35.1
  • libssh2_org Linux Micro 6.0 1.11.0-4.1
  • libssh2_org Linux Micro 6.1 1.11.0-slfo.1.1_2.1
  • libssh2_org SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.11.1-160000.5.1
  • libssh2_org SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 1.11.0-150600.20.6.1
  • libssh2_org SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +8 more 1.11.0-150200.9.8.1
  • libssh2_org SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 1.11.0-29.18.1

suse advisories SUSE-SU-2026:4095-1SUSE-SU-2026:23245-1SUSE-SU-2026:23187-1SUSE-SU-2026:23049-1SUSE-SU-2026:23214-1SUSE-SU-2026:23225-1

  • libssh2_org openSUSE Leap 16.0 1.11.1-160000.5.1
  • libssh2_org openSUSE Tumbleweed 1.11.1-3.1

opensuse advisories openSUSE-SU-2026:21549-1openSUSE-SU-2026:11109-1

  • rust Alpine 3.24 1.96.1-r0
  • libssh2 Alpine 3.22, Alpine 3.21 1.11.1-r3
  • libssh2 Alpine 3.24, Alpine 3.23 1.11.1-r4
  • chromium-rust Alpine 3.24 1.96.1-r0

alpine advisories ALPINE-CVE-2025-15661

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libssh2 Azure Linux 3.0 1.11.1-4

azure linux advisories AZL-90936

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-15661 updated cvss 6.5

libssh2: libssh2: Information disclosure and denial of service via crafted SFTP response

  • Red Hat Enterprise Linux 6 libssh2 Red Hat Enterprise Linux 7 libssh2
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Hardened Images libssh2 1.11.1-9.hum1
    fixed: vendor fix RHSA-2026:30132

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.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
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
CNA 4.0 8.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia LibSSH2_jll
<1.11.102+0
1.11.102+0

Affected products

  • libssh2 libssh2

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.