CVE-2025-8277: Libssh: memory exhaustion via repeated key exchange in libssh
CVE-2025-8277 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Low
- CVSS base score
- 3.1 (NetApp), 3.1 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L· base score 3.1, scored by redhatAttack vector: network. Attack complexity: high. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: low.- Weakness
- CWE-401 Missing Release of Memory after Effective Lifetime
- EPSS
- 0.43% chance of exploitation in the next 30 days (38th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Red Hat: libssh-0:0.10.4-18.el9, RHSA-2026:18683
- Assigned by
- redhat (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-8277; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability.
Text from the CVE.org record (redhat).
How do I fix CVE-2025-8277?
Upgrade to a fixed release named by the vendor:
- Red Hat: libssh-0:0.10.4-18.el9, RHSA-2026:18683
- Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. It is strongly advised to apply updated libssh packages once available to prevent memory exhaustion risks on client systems. (Red Hat)
- Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. It is strongly advised to apply updated libssh packages once available to prevent memory exhaustion risks on client systems. (CVE.org record)
Vendor advisories for CVE-2025-8277
NetApp
1 advisory- Advisory severityLow3.1
Low [CVE-2025-8277] Libssh Vulnerability in NetApp Products
NTAP-20251031-0010Source published Source updated
Multiple NetApp products incorporate Libssh. Libssh versions prior to 0.11.3 are susceptible to a vulnerability which when successfully exploited could lead to Denial of Service (DoS). Successful exploitation of this vulnerability could lead to Denial of Service (DoS). NetApp states there is no workaround available at this time.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 0.11.3
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityLow3.1
Low [CVE-2025-8277] memory exhaustion via repeated key exchange in libssh
CVE-2025-8277Source published Source updated
A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability. The Red Hat Product Security team has assessed the severity of this vulnerability as Low.The issue requires an authenticated client to repeatedly initiate key exchanges with incorrect guesses, which leads to memory not being properly released. While this flaw can result in gradual memory exhaustion and potential denial of service (DoS) on the client side, it is not easily exploitable in typical usage scenarios and does not…
- Affected products in this advisory
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
3 more entries in the full advisory.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- libssh-0:0.10.4-18.el9
- RHSA-2026:18683
- Mitigation guidance
- Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. It is strongly advised to apply updated libssh packages once available to prevent memory exhaustion risks on client systems.
References
- CVE-2025-8277 recordCVE.org
- CVE-2025-8277 detailNVD
- RHSA-2026:18683vendor-advisory, x_refsource_redhat
- access.redhat.com/security/cve/CVE-2025-8277vdb-entry, x_refsource_redhat
- RHBZ#2383888issue-tracking, x_refsource_redhat
- libssh.org/security/advisories/CVE-2025-8277.txt
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More NetApp advisories
CVE-2026-123862Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-114949Nov 20, 2026November 2026 MySQL Vulnerabilities in NetApp ProductsCVE-2026-123863Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-123828Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-123863Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-123868Nov 20, 2026Node.js Vulnerability in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.