8.3

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

Modified
AliasesALPINE-CVE-2025-15661RHSA-2026:30132UBUNTU-CVE-2025-15661
Published 18-06-2026Last modified 10-11-2026

Vulnerability summary

CVE-2025-15661 is a high (CVSS 8.3) Out-of-bounds Read vulnerability in libssh2. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.3/10
010
High · v4.0 (CVE.org)
EPSS score
0.83%
0%100%
Low · +0.18 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 14

Timeline

  1. 18-06-2026
    PublishedVulnerability first disclosed.
  2. 10-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

11 scores · 8 sources · 2 versions

EPSS trend

Probability

0.83%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

Increase +0.18 pp

From 0.65% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine3 products
  • chromium-rust< 1.96.1-r0
  • libssh2< 1.11.1-r3 | < 1.11.1-r4
  • rust< 1.96.1-r0
Chainguard3 products
  • libssh2< 1.11.1-r7
  • libssh2-dev< 1.11.1-r7
  • libssh2-doc< 1.11.1-r7
Redhat3 products
  • libssh2< 0:1.11.1-9.hum1
  • libssh2-devel< 0:1.11.1-9.hum1
  • libssh2-docs< 0:1.11.1-9.hum1
Wolfi3 products
  • libssh2< 1.11.1-r7
  • libssh2-dev< 1.11.1-r7
  • libssh2-doc< 1.11.1-r7
Debian1 product
  • libssh2< 1.10.0-3+deb12u1 | < 1.11.1-1+deb13u1 | < 1.11.1-4
Libssh21 product
Ubuntu1 product
  • libssh2All versions (No fix recorded) | < 1.4.3-2ubuntu0.2+esm5 | < 1.5.0-2ubuntu0.1+esm4 | < 1.8.0-1ubuntu0.1+esm2 | < 1.8.0-2.1ubuntu0.1+esm2 | < 1.10.0-3+deb12u1build0.22.04.1 | < 1.11.0-4.1ubuntu0.24.04.2 | < 1.11.1-1ubuntu0.25.10.2 | < 1.11.1-1ubuntu0.26.04.2

7 vendors · 15 products

References

20 links
Show all 20 references