CVE-2025-15661
libssh2 libssh2
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.5
- Severity
- 6.5
- EPSS
- 0.8 %
- Percentile
- 59
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run libssh2 libssh2. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDlibssh2 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.
- Vendor / product
- libssh2 libssh2
- Published
- 18.06.2026
- Modified
- 10.11.2026
- CWE
- CWE-125
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
Vendor updates
13- Ubuntu: USN-9248-1 – libssh2 vulnerabilities 30.11.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:4095-1 – Security update for libssh2_org 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23245-1 – Security update for libssh2_org 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23214-1 – Security update for libssh2_org 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23225-1 – Security update for libssh2_org 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23187-1 – Security update for libssh2_org 24.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23049-1 – Security update for libssh2_org 11.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3541-1 – Security update for libssh2_org 10.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3525-1 – Security update for libssh2_org 07.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3526-1 – Security update for libssh2_org 07.08.2026 · Critical · Patch day
- Ubuntu: USN-8486-1 – libssh2 vulnerabilities 30.06.2026 · HIGH · Patch day
- Microsoft: Mariner 27.06.2026 · Medium · Patch day
- Red Hat: RHSA-2026:30132 – RHSA-2026:30132 libssh2-docs-0:1.11.1-9.hum1@noarch@public-hummingbird security update 25.06.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.