Skip to content
OpenAdvisories
High SUSE-SU-2026:4095-1 8 CVEs

Security update for libssh2_org

Published Sep 9, 2026 · Updated Sep 14, 2026

Summary

This update for libssh2_org fixes the following issues:

- CVE-2025-15661: out-of-bounds heap read vulnerability in the sftp_symlink() function in src/sftp.c (bsc#1268546).
- CVE-2026-7598: integer overflow in function `userauth_password` of file `src/userauth.c` (bsc#1263890).
- CVE-2026-58050: attacker controlled attribute count from a publickey-subsystem response is used without bounds
checking and can cause to a heap buffer overflow in a connecting libssh2 client (bsc#1269568).
- CVE-2026-58051: public key list is increased and does not zero-initialized new entries, which can cause an
uninitialized pointer to be freed when a malformed response is sent by an SSH server (bsc#1269567).
- CVE-2026-66032: Arbitrary code execution via double-free in SFTP session (bsc#1272737).
- CVE-2026-66033: Denial of Service via integer underflow in AES-GCM cipher negotiation (bsc#1272736).
- CVE-2026-66034: Information disclosure and potential arbitrary code execution via heap out-of-bounds read
(bsc#1272735).
- CVE-2026-66035: Arbitrary code execution via heap buffer overflow during SSH negotiation (bsc#1272734).

Fixed packages 3

ReleasePackageFixed in
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS libssh2_org 1.11.0-150000.4.35.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS libssh2_org 1.11.0-150000.4.35.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS libssh2_org 1.11.0-150000.4.35.1

Vulnerabilities 8

  • High 8.8

    libssh2 Double-Free Heap Corruption via sftp_open()

    libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftp_open() function in src/sftp.c that allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session. When a server responds …

  • High 7.5

    libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation

    libssh2 through 1.11.1, fixed in commit a2ed82d, contains a pre-authentication integer underflow vulnerability in the ssh2_cipher_crypt() function in src/openssl.c that allows a malicious SSH server to crash any connecting client by negotiating AES-GCM cipher…

  • High 7.5

    libssh2 Heap Out-of-Bounds Read via publickey subsystem

    libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In lib…

  • High 7.5

    libssh2 Heap Buffer Overflow via ETM Cipher Negotiation

    libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer overflow vulnerability that allows a malicious SSH server to corrupt heap metadata in any connecting client by sending a packet with a packet_length smaller than the ci…

  • High 7.3

    libssh2 userauth.c userauth_password integer overflow

    A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len leads to integer overflow. The attack may be lau…

  • High 7.0

    libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation

    libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication ove…

  • Medium 6.5

    libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c

    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 …

  • Medium 6.5

    libssh2 - Free of Uninitialized Pointer in publickey List Cleanup

    libssh2 through 1.11.1 grows its publickey list with SSH2_REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2_publickey_list_free operating on an uninitialized entry. A ma…

References

  • report
    https://bugzilla.suse.com/1263890
  • report
    https://bugzilla.suse.com/1268546
  • report
    https://bugzilla.suse.com/1269567
  • report
    https://bugzilla.suse.com/1269568
  • report
    https://bugzilla.suse.com/1272734
  • report
    https://bugzilla.suse.com/1272735
  • report
    https://bugzilla.suse.com/1272736
  • report
    https://bugzilla.suse.com/1272737
  • web
    https://www.suse.com/security/cve/CVE-2025-15661
  • web
    https://www.suse.com/security/cve/CVE-2026-58050
  • web
    https://www.suse.com/security/cve/CVE-2026-58051
  • web
    https://www.suse.com/security/cve/CVE-2026-66032
  • web
    https://www.suse.com/security/cve/CVE-2026-66033
  • web
    https://www.suse.com/security/cve/CVE-2026-66034
  • web
    https://www.suse.com/security/cve/CVE-2026-66035
  • web
    https://www.suse.com/security/cve/CVE-2026-7598