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

Security update for libssh2_org

Published Aug 19, 2026 · Updated Aug 27, 2026

Summary

This update for libssh2_org fixes the following issues:

Security issues fixed:

- 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: heap buffer overflow due to missing bounds check in attribute count of publickey-subsystem response
(bsc#1269568).
- CVE-2026-58051: uninitialized pointer freed when malformed responses are 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).

Other updates and bugfixes:

- Fix an issue with Encrypt-then-MAC family (bsc#1221622).
* Test the ETM feature in the remote end's configuration when receiving data. Upstream issue: #1331.
- Always add the KEX pseudo-methods `ext-info-c` and `kex-strict-c-v00@openssh.com` when configuring custom method list
(bsc#1218971).
* The strict-kex extension is announced in the list of available KEX methods. However, when the default KEX method
list is modified or replaced, the extension is not added back automatically.

Fixed packages 1

ReleasePackageFixed in
SUSE · SLE Micro 6.0 Linux Micro 6.0 libssh2_org 1.11.0-4.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/1218971
  • report
    https://bugzilla.suse.com/1221622
  • 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