This report was translated by AI; nobody has reviewed the translation yet. Original language: Czech.
[TLP:CLEAR] 6 vulnerabilities reported in libssh2
6 vulnerabilities have been reported in libssh2 [1]. The most severe vulnerabilities are described below, the rest at [2][3]. Debian releases and their fixed versions (CVE-2026-55200 [4], CVE-2025-15661 [5], CVE-2026-55199 [6], CVE-2026-7598 [7]): trixie (security) - 1.11.1-1+deb13u1 forky, sid - 1.11.1-4 Red Hat releases and their fixed versions can be found at [8][9][10]. Ubuntu releases and their fixed versions (CVE-2025-15661, CVE-2026-55199, CVE-2026-55200 [11] and CVE-2026-7598 [12]): resolute - 1.11.1-1ubuntu0.26.04.2 questing - 1.11.1-1ubuntu0.25.10.2 noble - 1.11.0-4.1ubuntu0.24.04.2
An unauthenticated remote attacker with a malicious SSH server or in a MitM position can exploit an out-of-bounds write when processing incoming transport traffic, and by sending specially crafted SSH packets with an excessively large packet length value, heap memory corruption and RCE may occur [13]. A public PoC is available [14], and to temporarily mitigate this vulnerability, outgoing SSH communication can be restricted to verified servers only, clients accessing external targets can be secured as a priority, and unusual network traffic can be monitored [15]. A commit with the patch is available at [16].
The vulnerability is present in product:
- libssh2; <= 1.11.1;
CVSS: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
More information:
- CVE-2026-55200 at cve.org, NVD
- CWE-680: Integer Overflow to Buffer Overflow at cwe.mitre.org
The vulnerability was publicly disclosed 17. 6. 2026.
An unauthenticated remote attacker with a malicious SSH server or in a MitM position can exploit a heap out-of-bounds read when processing symbolic links (symlinks) within the SFTP protocol, and by sending specially crafted SFTP responses with a spoofed (excessively large) link length parameter, the attacker can disclose heap memory contents or cause DoS [17]. A commit with the patch is available at [18].
The vulnerability is present in product:
- libssh2; <= 1.11.1;
CVSS: 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
More information:
- CVE-2025-15661 at cve.org, NVD
- CWE-125: Out-of-bounds Read at cwe.mitre.org
The vulnerability was publicly disclosed 18. 6. 2026.
An unauthenticated remote attacker with a malicious SSH server can abuse the processing of SSH extension information and, by sending a specially crafted (excessively high) value for the number of these extensions, cause an endless loop and exhaustion of CPU resources on the client side, leading to DoS even before the authentication phase [19]. A commit with the patch is available at [20].
The vulnerability is present in product:
- libssh2; <= 1.11.1;
CVSS: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
More information:
- CVE-2026-55199 at cve.org, NVD
- CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') at cwe.mitre.org
The vulnerability was publicly disclosed 17. 6. 2026.
An unauthenticated remote attacker with a malicious SSH server can, on 32-bit platforms, exploit a vulnerability in the public key subsystem and, by sending a specially crafted attribute count value without bounds checking, cause an integer overflow when calculating the memory allocation, resulting in a heap overflow that may lead to DoS or potential ACE [21][22].
The vulnerability is present in product:
- libssh2; <= 1.11.1;
CVSS: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
More information:
- CVE-2026-58050 at cve.org, NVD
- CWE-190: Integer Overflow or Wraparound at cwe.mitre.org
The vulnerability was publicly disclosed 27. 6. 2026.
Links
- [1] https://security-tracker.debian.org/tracker/source-package/libssh2
- [2] https://nvd.nist.gov/vuln/detail/CVE-2026-7598
- [3] https://nvd.nist.gov/vuln/detail/CVE-2026-58051
- [4] https://security-tracker.debian.org/tracker/CVE-2026-55200
- [5] https://security-tracker.debian.org/tracker/CVE-2025-15661
- [6] https://security-tracker.debian.org/tracker/CVE-2026-55199
- [7] https://security-tracker.debian.org/tracker/CVE-2026-7598
- [8] https://access.redhat.com/security/cve/cve-2026-55200
- [9] https://access.redhat.com/security/cve/cve-2025-15661
- [10] https://access.redhat.com/security/cve/cve-2026-7598
- [11] https://ubuntu.com/security/notices/USN-8486-1
- [12] https://ubuntu.com/security/notices/USN-8309-1
- [13] https://nvd.nist.gov/vuln/detail/CVE-2026-55200
- [14] https://github.com/Fi1ix/exploitarium-06-29/tree/main/libssh2-cve-2026-55200-poc
- [15] https://thehackernews.com/2026/06/public-poc-released-for-critical.html
- [16] https://github.com/libssh2/libssh2/commit/97acf3dfda80c91c3a8c9f2372546301d4a1a7a8
- [17] https://nvd.nist.gov/vuln/detail/CVE-2025-15661
- [18] https://github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721d
- [19] https://nvd.nist.gov/vuln/detail/CVE-2026-55199
- [20] https://github.com/libssh2/libssh2/commit/17626857d20b3c9a1addfa45979dadcee1cd84a4
- [21] https://nvd.nist.gov/vuln/detail/CVE-2026-58050
- [22] https://access.redhat.com/security/cve/cve-2026-58050
By CESNET, z.s.p.o. Táňa Macháčková on 30. 6. 2026.