ALAS2-2026-3861
Active ImportantALAS2-2026-3861 (important): libssh2
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2026-3861.html| CVE |
|---|
| CVE-2026-66032 |
| CVE-2026-66034 |
Description
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
Read full publisher description 1342 characters
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 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)
Solution
Run yum update libssh2 or yum update --advisory ALAS2-2026-3861 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1libssh2
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.9.aarch64
- libssh2-devel-1.4.3-12.amzn2.2.9.aarch64
- libssh2-debuginfo-1.4.3-12.amzn2.2.9.aarch64
-
2libssh2
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.9.i686
- libssh2-devel-1.4.3-12.amzn2.2.9.i686
- libssh2-debuginfo-1.4.3-12.amzn2.2.9.i686
-
3libssh2
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- libssh2-docs-1.4.3-12.amzn2.2.9.noarch
-
4libssh2
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.9.src
-
5libssh2
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.9.x86_64
- libssh2-devel-1.4.3-12.amzn2.2.9.x86_64
- libssh2-debuginfo-1.4.3-12.amzn2.2.9.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2026-66032 https://access.redhat.com/security/cve/CVE-2026-66032
- CVE-2026-66034 https://access.redhat.com/security/cve/CVE-2026-66034
- CVE-2026-66032 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66032
- CVE-2026-66034 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66034
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-3861.html | Unknown | 7b27194259a5affc3a13c70dca2b53e6308543987aac8c77847e57cd3b664765 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3861.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3861.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |