CVE-2025-8277
Libssh: memory exhaustion via repeated key exchange in libssh
3.1CVSSLOW
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:LAvailabilityLow
Weaknesses
Affected Products
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 9 more affected products View all →
Exploitability
Official Patch Available
Workaround Available
References
https://access.redhat.com/security/cve/CVE-2025-8277
access.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2383888
bugzilla.redhat.com
https://access.redhat.com/security/cve/cve-2025-8277
access.redhat.com
and 9 more references View all →
Timeline
Published
Sep 9, 2025
Last Updated
May 19, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-8277 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows