
CVE catalog
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
- Severity
- High · CVSS 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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.65% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libssh2 | sid | 1.11.1-6 | fixed |
| Debian | libssh2 | forky | 1.11.1-6 | fixed |
| Debian | libssh2 | trixie | 1.11.1-1+deb13u2 | fixed |
| Debian | libssh2 | trixie-security | 1.11.1-1+deb13u1 | fixed |
| Debian | libssh2 | bookworm | 1.10.0-3 | vulnerable |
| Debian | libssh2 | bookworm-security | 1.10.0-3+deb12u1 | fixed |
| Cpe | libssh2 | Not reported | 1.11.0-4.1ubuntu0.24.04.2 | fixed |
| Cpe | libssh2-1-dev | Not reported | 1.11.0-4.1ubuntu0.24.04.2 | fixed |
| Cpe | libssh2-1t64 | Not reported | 1.11.0-4.1ubuntu0.24.04.2 | fixed |
| Cpe | libssh2 | Not reported | Not reported | vulnerable |
| Cpe | libssh2 | Not reported | Not reported | unknown |
| Cpe | libssh2 | Not reported | Not reported | unknown |
| Ubuntu | libssh2 | pro | 1.8.0-2.1build1 | vulnerable |
| Ubuntu | libssh2 | pro | 1.8.0-2.1ubuntu0.1 | vulnerable |
| Ubuntu | libssh2 | pro | 1.8.0-2.1ubuntu0.1+esm1 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.9.0-3 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-2 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-2build1 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-3 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-3ubuntu0.1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-3 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1build1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1build2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.2 | fixed |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1 | vulnerable |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1build1 | vulnerable |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1ubuntu0.25.10.1 | vulnerable |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1ubuntu0.25.10.2 | fixed |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1build1 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1build2 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.1 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.2 | fixed |
| Suse | libssh2_org | linux enterprise high performance computing 15 sp4-espos | 1.11.0-150000.4.35.1 | fixed |
| Suse | libssh2_org | linux enterprise high performance computing 15 sp4-ltss | 1.11.0-150000.4.35.1 | fixed |
| Suse | libssh2_org | linux enterprise server 15 sp4-ltss | 1.11.0-150000.4.35.1 | fixed |
| Alpine | libssh2 | 3.21 | 1.11.1-r3 | fixed |
| Alpine | libssh2 | 3.22 | 1.11.1-r3 | fixed |
| Alpine | libssh2 | 3.23 | 1.11.1-r4 | fixed |
| Alpine | libssh2 | 3.24 | 1.11.1-r4 | fixed |
| Alpine | rust | 3.24 | 1.96.1-r0 | fixed |
| Suse | libssh2_org | linux micro 6.0 | 1.11.0-4.1 | fixed |
| Suse | libssh2_org | linux enterprise server 16.0 | 1.11.1-160000.5.1 | fixed |
| Suse | libssh2_org | linux enterprise server for sap applications 16.0 | 1.11.1-160000.5.1 | fixed |
| Suse | libssh2_org | linux enterprise server 16.0 | 1.11.1-160000.5.1 | fixed |
| Suse | libssh2_org | linux enterprise server for sap applications 16.0 | 1.11.1-160000.5.1 | fixed |
| Suse | libssh2_org | linux micro 6.1 | 1.11.0-slfo.1.1_2.1 | fixed |
| Opensuse | libssh2_org | leap 16.0 | 1.11.1-160000.5.1 | fixed |
| Suse | libssh2_org | linux micro 6.2 | 1.11.1-160000.5.1 | fixed |
| Suse | libssh2_org | linux enterprise module for basesystem 15 sp7 | 1.11.0-150600.20.6.1 | fixed |
| Suse | libssh2_org | linux enterprise server 15 sp6-ltss | 1.11.0-150600.20.6.1 | fixed |
| Suse | libssh2_org | linux enterprise server for sap applications 15 sp6 | 1.11.0-150600.20.6.1 | fixed |
| Suse | libssh2_org | linux enterprise server 12 sp5-ltss | 1.11.0-29.18.1 | fixed |
| Suse | libssh2_org | linux enterprise server ltss extended security 12 sp5 | 1.11.0-29.18.1 | fixed |
| Suse | libssh2_org | linux enterprise micro 5.3 | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise micro 5.4 | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise micro 5.5 | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise high performance computing 15 sp4-espos | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise high performance computing 15 sp4-ltss | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise high performance computing 15 sp5-espos | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise high performance computing 15 sp5-ltss | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise server 15 sp4-ltss | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise server 15 sp5-ltss | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise server for sap applications 15 sp4 | 1.11.0-150200.9.8.1 | fixed |
| Suse | libssh2_org | linux enterprise server for sap applications 15 sp5 | 1.11.0-150200.9.8.1 | fixed |
| Ubuntu | libssh2 | 24.04 | 1.11.0-2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-3 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1build1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1build2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.2 | fixed |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1 | vulnerable |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1build1 | vulnerable |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1ubuntu0.25.10.1 | vulnerable |
| Ubuntu | libssh2 | 25.10 | 1.11.1-1ubuntu0.25.10.2 | fixed |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1build1 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1build2 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.1 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.2 | fixed |
| Opensuse | libssh2_org | tumbleweed | 1.11.1-3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libssh2 | source | sid | 1.11.1-4 | not yet assigned | Not reported | [1140401] |
| Debian | libssh2 | source | forky | 1.11.1-4 | not yet assigned | Not reported | [1140401] |
| Debian | libssh2 | source | trixie | 1.11.1-1+deb13u1 | not yet assigned | Not reported | [1140401] |
| Debian | libssh2 | source | bookworm | 1.10.0-3+deb12u1 | not yet assigned | Not reported | [1140401] |
| Cpe | libssh2 | cpe | Not reported | 1.11.0-4.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libssh2-1-dev | cpe | Not reported | 1.11.0-4.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libssh2-1t64 | cpe | Not reported | 1.11.0-4.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh2 | deb | 24.04 | 1.11.0-4.1ubuntu0.24.04.2 | Not reported | UBUNTU-CVE-2025-15661 | Not reported |
| Ubuntu | libssh2 | deb | 25.10 | 1.11.1-1ubuntu0.25.10.2 | Not reported | UBUNTU-CVE-2025-15661 | Not reported |
| Ubuntu | libssh2 | deb | 26.04 | 1.11.1-1ubuntu0.26.04.2 | Not reported | UBUNTU-CVE-2025-15661 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise high performance computing 15 sp4-espos | 1.11.0-150000.4.35.1 | Not reported | SUSE-SU-2026:4095-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise high performance computing 15 sp4-ltss | 1.11.0-150000.4.35.1 | Not reported | SUSE-SU-2026:4095-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 15 sp4-ltss | 1.11.0-150000.4.35.1 | Not reported | SUSE-SU-2026:4095-1 | Not reported |
| Alpine | libssh2 | apk | 3.21 | 1.11.1-r3 | Not reported | ALPINE-CVE-2025-15661 | Not reported |
| Alpine | libssh2 | apk | 3.22 | 1.11.1-r3 | Not reported | ALPINE-CVE-2025-15661 | Not reported |
| Alpine | libssh2 | apk | 3.23 | 1.11.1-r4 | Not reported | ALPINE-CVE-2025-15661 | Not reported |
| Alpine | libssh2 | apk | 3.24 | 1.11.1-r4 | Not reported | ALPINE-CVE-2025-15661 | Not reported |
| Alpine | rust | apk | 3.24 | 1.96.1-r0 | Not reported | ALPINE-CVE-2025-15661 | Not reported |
| Suse | libssh2_org | rpm | linux micro 6.0 | 1.11.0-4.1 | Not reported | SUSE-SU-2026:23245-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 16.0 | 1.11.1-160000.5.1 | Not reported | SUSE-SU-2026:23225-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server for sap applications 16.0 | 1.11.1-160000.5.1 | Not reported | SUSE-SU-2026:23225-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 16.0 | 1.11.1-160000.5.1 | Not reported | SUSE-SU-2026:23214-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server for sap applications 16.0 | 1.11.1-160000.5.1 | Not reported | SUSE-SU-2026:23214-1 | Not reported |
| Suse | libssh2_org | rpm | linux micro 6.1 | 1.11.0-slfo.1.1_2.1 | Not reported | SUSE-SU-2026:23187-1 | Not reported |
| Opensuse | libssh2_org | rpm | leap 16.0 | 1.11.1-160000.5.1 | Not reported | OPENSUSE-SU-2026:21549-1 | Not reported |
| Suse | libssh2_org | rpm | linux micro 6.2 | 1.11.1-160000.5.1 | Not reported | SUSE-SU-2026:23049-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise module for basesystem 15 sp7 | 1.11.0-150600.20.6.1 | Not reported | SUSE-SU-2026:3541-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 15 sp6-ltss | 1.11.0-150600.20.6.1 | Not reported | SUSE-SU-2026:3541-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server for sap applications 15 sp6 | 1.11.0-150600.20.6.1 | Not reported | SUSE-SU-2026:3541-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 12 sp5-ltss | 1.11.0-29.18.1 | Not reported | SUSE-SU-2026:3525-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server ltss extended security 12 sp5 | 1.11.0-29.18.1 | Not reported | SUSE-SU-2026:3525-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise micro 5.3 | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise micro 5.4 | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise micro 5.5 | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise high performance computing 15 sp4-espos | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise high performance computing 15 sp4-ltss | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise high performance computing 15 sp5-espos | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise high performance computing 15 sp5-ltss | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 15 sp4-ltss | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server 15 sp5-ltss | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server for sap applications 15 sp4 | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Suse | libssh2_org | rpm | linux enterprise server for sap applications 15 sp5 | 1.11.0-150200.9.8.1 | Not reported | SUSE-SU-2026:3526-1 | Not reported |
| Ubuntu | libssh2 | deb | 24.04 | 1.11.0-4.1ubuntu0.24.04.2 | Not reported | USN-8486-1 | Not reported |
| Ubuntu | libssh2 | deb | 25.10 | 1.11.1-1ubuntu0.25.10.2 | Not reported | USN-8486-1 | Not reported |
| Ubuntu | libssh2 | deb | 26.04 | 1.11.1-1ubuntu0.26.04.2 | Not reported | USN-8486-1 | Not reported |
| Opensuse | libssh2_org | rpm | tumbleweed | 1.11.1-3.1 | Not reported | OPENSUSE-SU-2026:11109-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libssh2-1]Affected
Source package: [libssh2]
Details (2)
1.10.0-3+b1· amd64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
1.10.0-3+b1· arm64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
- [libssh2-1-dev]Affected
Source package: [libssh2]
Details (2)
1.10.0-3+b1· amd64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
1.10.0-3+b1· arm64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
[openSUSE Tumbleweed]
- [libssh2-1]Unknown
Source package: [libssh2_org]
Details (1)
1.11.1-4.1· x86_64 · tumbleweedUnknown · Fixed:
1.11.1-3.1Version impact unknown
nvd · libssh2_org · opensuse · tumbleweed
- [libssh2-1-32bit]Unknown
Source package: [libssh2_org]
Details (1)
1.11.1-4.1· x86_64 · tumbleweedUnknown · Fixed:
1.11.1-3.1Version impact unknown
nvd · libssh2_org · opensuse · tumbleweed
- [libssh2-devel]Unknown
Source package: [libssh2_org]
Details (1)
1.11.1-4.1· x86_64 · tumbleweedUnknown · Fixed:
1.11.1-3.1Version impact unknown
nvd · libssh2_org · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [libssh2-1-dev]Fixed
Source package: [libssh2]
Details (4)
1.11.1-1+deb13u1· amd64 · trixieFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixieFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
- [libssh2-1t64]Fixed
Source package: [libssh2]
Details (4)
1.11.1-1+deb13u1· amd64 · trixieFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixieFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.11.1-1+deb13u1nvd · libssh2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3525-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-15661]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-15661]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-15661]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23049-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23187-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23214-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23225-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23245-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3525-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3526-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3541-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:4095-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-15661]
- [https://osv.dev/vulnerability/USN-8486-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11109-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21549-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-15661]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15661.json]
- [https://ubuntu.com/security/notices/USN-8486-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2007.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]