ALAS2-2026-3813
Active ImportantALAS2-2026-3813 (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-3813.html| CVE |
|---|
| CVE-2026-58050 |
| CVE-2026-58051 |
Description
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
Read full publisher description 931 characters
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 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 malicious SSH server offering the publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client. (CVE-2026-58051)
Solution
Run yum update libssh2 or yum update --advisory ALAS2-2026-3813 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.8.aarch64
- libssh2-devel-1.4.3-12.amzn2.2.8.aarch64
- libssh2-debuginfo-1.4.3-12.amzn2.2.8.aarch64
-
2libssh2
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.8.i686
- libssh2-devel-1.4.3-12.amzn2.2.8.i686
- libssh2-debuginfo-1.4.3-12.amzn2.2.8.i686
-
3libssh2
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- libssh2-docs-1.4.3-12.amzn2.2.8.noarch
-
4libssh2
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.8.src
-
5libssh2
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- libssh2-1.4.3-12.amzn2.2.8.x86_64
- libssh2-devel-1.4.3-12.amzn2.2.8.x86_64
- libssh2-debuginfo-1.4.3-12.amzn2.2.8.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-58050 https://access.redhat.com/security/cve/CVE-2026-58050
- CVE-2026-58051 https://access.redhat.com/security/cve/CVE-2026-58051
- CVE-2026-58050 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58050
- CVE-2026-58051 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58051
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-3813.html | Unknown | 8bb6a1f285fa018aa24aec26d0528a7977dd8939080dc58cba21fffb55aaca69 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3813.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3813.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |