CVE Tools

CVE-2025-8277

Libssh: memory exhaustion via repeated key exchange in libssh

Published: Sep 9, 2025Updated: May 19, 2026 Sources: CVE List NVD BDUCWE-401

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

AV:NAC:HPR:LUI:NS:UC:NI:NA:L
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:NIntegrity
None
A:LAvailability
Low

Weaknesses

Affected Products

red hat inc.commercialUSOperating Systemsaka red hat
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 9 more affected products View all →

Exploitability

Official Patch Available
Workaround Available

References

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 Account
Plain-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