CVE-2025-8277 in Client products
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, ...
Affects 0 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-8277 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-042949-L |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| Published | 2025-09-09 |
| Last modified | 2026-11-25 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-401: Memory Leak
Software does not release allocated memory after use, causing progressive consumption until failure.
Analysis AI-written, not human-reviewed
A memory exhaustion vulnerability exists in libssh due to improper memory management during key exchange processes when incorrect KEX guesses are repeatedly sent by a client. This can lead to system crashes, impacting application stability and availability.
An attacker can exploit this vulnerability by repeatedly sending incorrect KEX guesses to the server, causing memory exhaustion and potential crashes. The vulnerability is particularly impactful when using libgcrypt.
Questions
What is CVE-2025-8277?
A memory exhaustion vulnerability exists in libssh due to improper memory management during key exchange processes when incorrect KEX guesses are repeatedly sent by a client. This can lead to system crashes, impacting application stability and availability.
What is the CVSS score for CVE-2025-8277?
CVE-2025-8277 has CVSS 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.7%.
Is CVE-2025-8277 actively exploited?
No confirmed active exploitation of CVE-2025-8277 as of 2026-11-26.
How do I remediate CVE-2025-8277?
Priority: HIGH.
What systems are affected by CVE-2025-8277?
CVE-2025-8277 affects Client; Libssh.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Client","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-25.