Every CVE Search/ Get API key

CVE-2026-66035

libssh2 Heap Buffer Overflow via ETM Cipher Negotiation

7.7 HighFix available

CVE-2026-66035 is a high vulnerability (CVSS 7.7) in Libssh2, published July 24, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 40th percentile. Fixed in libssh2 1.11.1-r3.

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.47%Up 0.2 points since Jul 25, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
CVE-2026-66035
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-122
Updated
2026-11-02
EUVDEUVD-2026-48722 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
EUVD-2026-48722
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-v6rf-8q4r-r495 7.7

libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer...

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
GHSA-v6rf-8q4r-r495
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-122
Updated
2026-11-02
NVD 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
CVE-2026-66035
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-122
Updated
2026-11-02
OSVALPINE-CVE-2026-66035 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
ALPINE-CVE-2026-66035
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
OSVBELL-CVE-2026-66035 7.5
Record
BELL-CVE-2026-66035
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 28 moreShow less
OSV 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
CVE-2026-66035
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-122
Updated
2026-11-02
OSVDEBIAN-CVE-2026-66035 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
DEBIAN-CVE-2026-66035
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
OSVJLSEC-2026-1088 7.7

libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer...

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
JLSEC-2026-1088
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3392 8.8

libssh2 security update

libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10).

Security Fix(es):

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 overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.(CVE-2026-58050)

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 to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.(CVE-2026-66032)

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 ciphers during handshake. Attackers can exploit the underflow in the expression computing blocksize minus aadlen minus authentication tag length to trigger an out-of-bounds read and a memcpy call with a near-SIZE_MAX length argument, causing immediate process crash before any authentication occurs.(CVE-2026-66033)

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 libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.(CVE-2026-66034)

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.(CVE-2026-66035)

Record
OESA-2026-3392
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3395 8.8

libssh2 security update

libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10).

Security Fix(es):

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 overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.(CVE-2026-58050)

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 to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.(CVE-2026-66032)

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 ciphers during handshake. Attackers can exploit the underflow in the expression computing blocksize minus aadlen minus authentication tag length to trigger an out-of-bounds read and a memcpy call with a near-SIZE_MAX length argument, causing immediate process crash before any authentication occurs.(CVE-2026-66033)

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 libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.(CVE-2026-66034)

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.(CVE-2026-66035)

Record
OESA-2026-3395
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3479 8.8

libssh2 security update

libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10).

Security Fix(es):

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.(CVE-2025-15661)

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 overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.(CVE-2026-58050)

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 to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.(CVE-2026-66032)

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 ciphers during handshake. Attackers can exploit the underflow in the expression computing blocksize minus aadlen minus authentication tag length to trigger an out-of-bounds read and a memcpy call with a near-SIZE_MAX length argument, causing immediate process crash before any authentication occurs.(CVE-2026-66033)

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 libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.(CVE-2026-66034)

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.(CVE-2026-66035)

Record
OESA-2026-3479
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:46955 5.3

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:46955
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-66035 7.7

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
UBUNTU-CVE-2026-66035
CVSS 4.0
7.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-108528 No score

CVE-2026-66035 affecting package rust 1.98.1-1

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
AZL-108528
Updated
2026-11-02
OSVAZL-93399 No score

CVE-2026-66035 affecting package libssh2 for versions less than 1.11.1-5

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 cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

Record
AZL-93399
Updated
2026-11-02
OSVMGASA-2026-0402 No score

Updated libssh2 packages fix security vulnerabilities

Double-Free Heap Corruption via sftp_open(). (CVE-2026-66032) Integer Underflow DoS via AES-GCM Cipher Negotiation. (CVE-2026-66033) Heap Buffer Overflow via ETM Cipher Negotiation. (CVE-2026-66035)

Record
MGASA-2026-0402
Updated
2026-11-02
OSVopenSUSE-SU-2026:11454-1 No score

libssh2-1-1.11.1-4.1 on GA media

These are all security issues fixed in the libssh2-1-1.11.1-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11454-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21549-1 No score

Security update for libssh2_org

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: 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).
Record
openSUSE-SU-2026:21549-1
Updated
2026-11-02
OSVROOT-OS-ALPINE-322-CVE-2026-66035 No score

CVE-2026-66035 in libssh2 - Patched by Root

Root has patched CVE-2026-66035 in the libssh2 package for Root:Alpine:3.22. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-322-CVE-2026-66035
Updated
2026-11-02
OSVROOT-OS-ALPINE-323-CVE-2026-66035 No score

CVE-2026-66035 in libssh2 - Patched by Root

Root has patched CVE-2026-66035 in the libssh2 package for Root:Alpine:3.23. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-323-CVE-2026-66035
Updated
2026-11-02
OSVROOT-OS-DEBIAN-11-CVE-2026-66035 No score

CVE-2026-66035 in libssh2 - Patched by Root

Root has patched CVE-2026-66035 in the libssh2 package for Root:Debian:11. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-11-CVE-2026-66035
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2026-66035 No score

CVE-2026-66035 in libssh2 - Patched by Root

Root has patched CVE-2026-66035 in the libssh2 package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2026-66035
Updated
2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2026-66035 No score

CVE-2026-66035 in libssh2 - Patched by Root

Root has patched CVE-2026-66035 in the libssh2 package for Root:Debian:13. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-13-CVE-2026-66035
Updated
2026-11-02
OSVSUSE-SU-2026:23049-1 No score

Security update for libssh2_org

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: 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).
Record
SUSE-SU-2026:23049-1
Updated
2026-11-02
OSVSUSE-SU-2026:23187-1 No score

Security update for libssh2_org

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-55199: pre-authentication DoS via the SSH_MSG_EXT_INFO handler (bsc#1268530).
  • 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).
Record
SUSE-SU-2026:23187-1
Updated
2026-11-02
OSVSUSE-SU-2026:23214-1 No score

Security update for libssh2_org

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: 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).
Record
SUSE-SU-2026:23214-1
Updated
2026-11-02
OSVSUSE-SU-2026:23225-1 No score

Security update for libssh2_org

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: 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).
Record
SUSE-SU-2026:23225-1
Updated
2026-11-02
OSVSUSE-SU-2026:23245-1 No score

Security update for libssh2_org

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 [email protected] 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.
Record
SUSE-SU-2026:23245-1
Updated
2026-11-02
OSVSUSE-SU-2026:3525-1 No score

Security update for libssh2_org

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-55199: pre-authentication DoS via the SSH_MSG_EXT_INFO handler (bsc#1268530).
  • 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).
Record
SUSE-SU-2026:3525-1
Updated
2026-11-02
OSVSUSE-SU-2026:3526-1 No score

Security update for libssh2_org

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: 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).
Record
SUSE-SU-2026:3526-1
Updated
2026-11-02
OSVSUSE-SU-2026:3541-1 No score

Security update for libssh2_org

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: 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).
Record
SUSE-SU-2026:3541-1
Updated
2026-11-02
OSVSUSE-SU-2026:4095-1 No score

Security update for libssh2_org

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).
Record
SUSE-SU-2026:4095-1
Updated
2026-11-02
OSVUSN-8722-1 No score

libssh2 vulnerabilities

It was discovered that libssh2 incorrectly handled certain SFTP server responses. A remote attacker controlling an SSH server could use this issue to cause libssh2 to crash or possibly execute arbitrary code. (CVE-2026-66032)

It was discovered that libssh2 incorrectly handled AES-GCM cipher negotiation. A remote attacker controlling an SSH server could possibly use this issue to cause libssh2 to crash, resulting in a denial of service. (CVE-2026-66033)

It was discovered that libssh2 incorrectly handled Encrypt-then-MAC cipher negotiation. A remote attacker controlling an SSH server could use this issue to cause libssh2 to crash or possibly execute arbitrary code. (CVE-2026-66035)

Record
USN-8722-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libssh2
Alpine:v3.21
before 1.11.1-r3
1.11.1-r3
libssh2
Alpine:v3.22
before 1.11.1-r3
1.11.1-r3
libssh2
Alpine:v3.23
before 1.11.1-r4
1.11.1-r4
libssh2
Alpine:v3.24
before 1.11.1-r4
1.11.1-r4
rust
Azure Linux:3
1.85.0 to 1.98.1-1 None known
libssh2
Azure Linux:3
before 1.11.1-5
1.11.1-5
libssh2
Alpaquita:23
1.10.0-r4 up to 1.11.1-r4
1.11.1-r4
libssh2
Alpaquita:25
1.11.1-r0 up to 1.11.1-r4
1.11.1-r4
libssh2
Alpaquita:stream
1.10.0-r4 up to 1.11.1-r5
1.11.1-r5
libssh2
Debian:13
before 1.11.1-1+deb13u2, plus listed versions
1.11.1-11.11.1-1+deb13u1
1.11.1-1+deb13u2
Show 45 moreShow less
Affected packages
PackageAffectedFixed
libssh2
Debian:14
before 1.11.1-5, plus listed versions
1.11.1-11.11.1-21.11.1-31.11.1-4
1.11.1-5
LibSSH2_jll
Julia
before 1.11.104+0
1.11.104+0
libssh2
Mageia:10
before 1.11.1-2.2.mga10
1.11.1-2.2.mga10
libssh2
Mageia:9
before 1.11.0-1.2.mga9
1.11.0-1.2.mga9
libssh2
openEuler:24.03-LTS-SP3
before 1.11.0-10.oe2403sp3
1.11.0-10.oe2403sp3
libssh2
openEuler:24.03-LTS-SP1
before 1.11.0-10.oe2403sp1
1.11.0-10.oe2403sp1
libssh2
openEuler:24.03-LTS-SP4
before 1.11.0-14.oe2403sp4
1.11.0-14.oe2403sp4
libssh2
Red Hat:hummingbird:1
before 0:1.11.1-10.3.hum1
0:1.11.1-10.3.hum1
libssh2-devel
Red Hat:hummingbird:1
before 0:1.11.1-10.3.hum1
0:1.11.1-10.3.hum1
libssh2-docs
Red Hat:hummingbird:1
before 0:1.11.1-10.3.hum1
0:1.11.1-10.3.hum1
libssh2
Root:Debian:11
before 1.9.0-2+deb11u1.aikido.4
1.9.0-2+deb11u1.aikido.41.9.0-2+deb11u1.aikido.5
rootio-libssh2
Root:Debian:11
before 1.9.0-2+deb11u1.aikido.4
1.9.0-2+deb11u1.aikido.41.9.0-2+deb11u1.aikido.5
libssh2_org
SUSE:Linux Micro 6.2
before 1.11.1-160000.5.1
1.11.1-160000.5.1
libssh2_org
SUSE:Linux Micro 6.1
before 1.11.0-slfo.1.1_2.1
1.11.0-slfo.1.1_2.1
libssh2_org
SUSE:Linux Enterprise Server 16.0
before 1.11.1-160000.5.1
1.11.1-160000.5.1
libssh2_org
SUSE:Linux Enterprise Server for SAP applications 16.0
before 1.11.1-160000.5.1
1.11.1-160000.5.1
libssh2_org
SUSE:Linux Micro 6.0
before 1.11.0-4.1
1.11.0-4.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP5-LTSS
before 1.11.0-29.18.1
1.11.0-29.18.1
libssh2_org
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 1.11.0-29.18.1
1.11.0-29.18.1
libssh2_org
SUSE:Linux Enterprise Micro 5.3
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Micro 5.4
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Micro 5.5
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 1.11.0-150200.9.8.1
1.11.0-150200.9.8.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 1.11.0-150600.20.6.1
1.11.0-150600.20.6.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP6-LTSS
before 1.11.0-150600.20.6.1
1.11.0-150600.20.6.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP6
before 1.11.0-150600.20.6.1
1.11.0-150600.20.6.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 1.11.0-150000.4.35.1
1.11.0-150000.4.35.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 1.11.0-150000.4.35.1
1.11.0-150000.4.35.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 1.11.0-150000.4.35.1
1.11.0-150000.4.35.1
libssh2
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.4.3-11.4.3-21.4.3-2ubuntu0.11.4.3-2ubuntu0.21.4.3-2ubuntu0.2+esm11.4.3-2ubuntu0.2+esm21.4.3-2ubuntu0.2+esm31.4.3-2ubuntu0.2+esm4
None known
libssh2
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.5.0-21.5.0-2ubuntu0.11.5.0-2ubuntu0.1+esm11.5.0-2ubuntu0.1+esm21.5.0-2ubuntu0.1+esm3
None known
libssh2
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.8.0-11.8.0-1ubuntu0.11.8.0-1ubuntu0.1+esm1
None known
libssh2
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.8.0-2.1build11.8.0-2.1ubuntu0.11.8.0-2.1ubuntu0.1+esm1
None known
libssh2
Ubuntu:22.04:LTS
All versions, plus listed versions
1.9.0-31.10.0-21.10.0-2build11.10.0-31.10.0-3ubuntu0.1
None known
libssh2
Ubuntu:24.04:LTS
before 1.11.0-4.1ubuntu0.24.04.4, plus listed versions
1.11.0-21.11.0-31.11.0-41.11.0-4.1build11.11.0-4.1build21.11.0-4.1ubuntu0.24.04.11.11.0-4.1ubuntu0.24.04.21.11.0-4.1ubuntu0.24.04.3
1.11.0-4.1ubuntu0.24.04.4
libssh2
Ubuntu:26.04:LTS
before 1.11.1-1ubuntu0.26.04.4, plus listed versions
1.11.1-1build11.11.1-1build21.11.1-1ubuntu0.26.04.11.11.1-1ubuntu0.26.04.21.11.1-1ubuntu0.26.04.3
1.11.1-1ubuntu0.26.04.4
libssh2_org
openSUSE:Tumbleweed
before 1.11.1-4.1
1.11.1-4.1
libssh2_org
openSUSE:Leap 16.0
before 1.11.1-160000.5.1
1.11.1-160000.5.1

History

History
WhenChangedSources
2026-11-03affected
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 54 moreShow less
MoveEnter Open