# CVE-2025-15661 — libssh2

> As of 2026-09-24, CVE-2025-15661 is a MEDIUM-severity vulnerability in libssh2, CVSS v3.1 6.5, EPSS 0.6% (49.5th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2025-15661, most recently “Public PoC Released for Critical libssh2 Client-Side SSH Flaw (CVE-2026-55200)”.

**Last updated:** 2026-09-24

## What is 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 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.

The record classifies CVE-2025-15661 under weakness class [CWE-125](https://intel.threadlinqs.com/cwe/CWE-125). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 154 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 6.5 — MEDIUM (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`)
- **CVSS v4.0 base score:** 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`)
- **EPSS (FIRST):** 0.6% probability of exploitation in the next 30 days, higher than 49.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 5.2/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-06-18

## Is CVE-2025-15661 being exploited?

It currently carries a trending score of 19 in the Threadlinqs vulnerability feed.

## Affected products and versions

- **libssh2**: libssh2

## How to fix CVE-2025-15661

Patch reference: [https://github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721d](https://github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721d). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2025-15661

1 tracked threat in the Threadlinqs corpus references CVE-2025-15661, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Public PoC Released for Critical libssh2 Client-Side SSH Flaw (CVE-2026-55200)](https://intel.threadlinqs.com/threat/TL-2026-1226) — CRITICAL · 2026-07-11

## Sources

Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories.

**Vendor advisory and patch**

- [github.com — patch](https://github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721d)

**Third-party advisory**

- [vulncheck.com — third party advisory](https://www.vulncheck.com/advisories/libssh2-heap-buffer-over-read-via-sftp-symlink-in-sftp-c)

**Issue tracking and product pages**

- [github.com — issue tracking](https://github.com/libssh2/libssh2/pull/1705)
- [github.com — issue tracking (1717)](https://github.com/libssh2/libssh2/pull/1717)

Canonical: https://intel.threadlinqs.com/cve/CVE-2025-15661
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
