Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2026-3861

Active Important

ALAS2-2026-3861 (important): libssh2

Published
17 Aug 2026
Updated
17 Aug 2026

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
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.

5

Shared package data

Applies to all 5 occurrences
  1. 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
  2. 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
  3. 3libssh2

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • libssh2-docs-1.4.3-12.amzn2.2.9.noarch
  4. 4libssh2

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • libssh2-1.4.3-12.amzn2.2.9.src
  5. 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.

0

No CVSS assessments were provided.

Publisher references

4
  • CVE-2026-66032 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-66032
  • CVE-2026-66034 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-66034
  • CVE-2026-66032 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66032
  • CVE-2026-66034 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66034

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2026-3861.htmlUnknown7b27194259a5affc3a13c70dca2b53e6308543987aac8c77847e57cd3b664765amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-3861.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-3861.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected