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.
CVE-2025-15661
Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-06-18. NVD baseline CVSS 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EG Risk
- 30(Track)EG Risk 30/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 49%
- KEV
- Not listed
Published
June 18, 2026
Last Modified
July 14, 2026
Advisory Details (4)
Auto-updated Jun 18, 2026libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c | Advisories | VulnCheck
https://www.vulncheck.com/advisories/libssh2-heap-buffer-over-read-via-sftp-symlink-in-sftp-cUpdate sftp_symlink to avoid out of bounds read #1705
Fix merged in libssh2/libssh2 PR #1717 on 2025-10-10 — awaiting tagged release
https://github.com/libssh2/libssh2/pull/1717sftp: fix OOB read on READLINK/REALPATH name parsing
Upstream fix in progress (PR #1705 · libssh2/libssh2, state=closed)
https://github.com/libssh2/libssh2/pull/1705commit 2dae3024897e (libssh2/libssh2)
Fix landed in libssh2/libssh2 commit 2dae3024897e — awaiting tagged release
https://github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721dVendor Advisories for CVE-2025-15661(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2025-15661Microsoft Security Response Center (MSRC)Medium
libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c
- RHSA-2026:30132Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- GHSA-3wqh-87fg-ffggGitHub Security AdvisoriesHigh
libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read...
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libssh2-1t64 (1.11.0-4.1ubuntu0.24.04.2) @ noble | 2026-08-30 | ubuntu |
| redhat | libssh2-main-1.11.1-9.hum1 | 2026-06-25 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Alpine:v3.24(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rust | — | 1.96.1-r0 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libssh2 | 1.10.0-1 ... 1.9.0-3 (20 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libssh2 | 1.10.0-3 | 1.10.0-3+deb12u1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libssh2 | 1.11.1-1 | 1.11.1-1+deb13u1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libssh2 | 1.11.1-1, 1.11.1-2, 1.11.1-3 | 1.11.1-4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 6× in last 7d / 60× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 221 total refreshes for this CVE.
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:35 UTCEPSS rescore
- 2026-09-10 09:33 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-04 13:59 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-09-01 04:38 UTCEPSS rescore
- 2026-08-30 20:54 UTCEG score recompute
- 2026-08-30 20:54 UTCVendor advisory
- 2026-08-30 20:54 UTCGHSA enrichment
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 14:45 UTCEPSS rescore
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-25 01:06 UTCEG score recompute
- 2026-08-25 01:06 UTCVendor advisory
- 2026-08-25 01:06 UTCGHSA enrichment
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-24 01:09 UTCVendor advisory
Show 75 moreShow fewer
- 2026-08-24 01:09 UTCGHSA enrichment
- 2026-08-23 01:04 UTCEG score recompute
- 2026-08-23 01:04 UTCVendor advisory
- 2026-08-23 01:04 UTCGHSA enrichment
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-21 08:08 UTCEG score recompute
- 2026-08-21 08:08 UTCVendor advisory
- 2026-08-21 08:08 UTCGHSA enrichment
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-20 08:08 UTCEG score recompute
- 2026-08-20 08:08 UTCVendor advisory
- 2026-08-20 08:08 UTCGHSA enrichment
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-19 07:27 UTCEG score recompute
- 2026-08-19 07:27 UTCVendor advisory
- 2026-08-19 07:27 UTCGHSA enrichment
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-16 20:40 UTCEG score recompute
- 2026-08-16 20:40 UTCVendor advisory
- 2026-08-16 20:40 UTCGHSA enrichment
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 18:51 UTCEG score recompute
- 2026-08-15 18:51 UTCVendor advisory
- 2026-08-15 18:51 UTCGHSA enrichment
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-14 18:54 UTCEG score recompute
- 2026-08-14 18:54 UTCVendor advisory
- 2026-08-14 18:54 UTCGHSA enrichment
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-13 18:57 UTCVendor advisory
- 2026-08-13 18:57 UTCGHSA enrichment
- 2026-08-12 18:41 UTCEG score recompute
- 2026-08-12 18:41 UTCVendor advisory
- 2026-08-12 18:41 UTCGHSA enrichment
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 18:45 UTCEG score recompute
- 2026-08-11 18:45 UTCVendor advisory
- 2026-08-11 18:45 UTCGHSA enrichment
- 2026-08-11 13:41 UTCEPSS rescore
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-10 18:46 UTCVendor advisory
- 2026-08-10 18:46 UTCGHSA enrichment
- 2026-08-09 17:48 UTCEG score recompute
- 2026-08-09 17:48 UTCVendor advisory
- 2026-08-09 17:48 UTCGHSA enrichment
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-08 17:52 UTCEG score recompute
- 2026-08-08 17:52 UTCVendor advisory
- 2026-08-08 17:52 UTCGHSA enrichment
- 2026-08-07 17:55 UTCEG score recompute
- 2026-08-07 17:55 UTCVendor advisory
- 2026-08-07 17:55 UTCGHSA enrichment
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-06 17:59 UTCEG score recompute
- 2026-08-06 17:59 UTCVendor advisory
- 2026-08-06 17:59 UTCGHSA enrichment
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-05 18:02 UTCVendor advisory
- 2026-08-05 18:02 UTCGHSA enrichment
- 2026-08-04 15:23 UTCEG score recompute
- 2026-08-04 15:23 UTCVendor advisory
- 2026-08-04 15:22 UTCGHSA enrichment
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-03 08:43 UTCVendor advisory
- 2026-08-03 08:43 UTCGHSA enrichment
- 2026-08-02 05:05 UTCEG score recompute
- 2026-08-02 05:05 UTCVendor advisory
- 2026-08-02 05:05 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2025-15661?
When was CVE-2025-15661 disclosed?
Is CVE-2025-15661 actively exploited?
What is the CVSS score of CVE-2025-15661?
How do I remediate CVE-2025-15661?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-15661
Is Your Infrastructure Affected by CVE-2025-15661?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.