Memory Exhaustion Vulnerability in libssh During Key Exchange Processes
CVE-2025-8277

3.1LOW

What is CVE-2025-8277?

A vulnerability exists in libssh that compromises the key exchange (KEX) process. When a client sends multiple incorrect KEX guesses, the library fails to release memory during the rekey operations, leading to gradual memory exhaustion. This issue can cause client-side crashes, especially when utilized with libgcrypt, thus affecting the overall stability and availability of applications that rely on libssh.

References

CVSS V3.1

Score:
3.1
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Francesco Rollo for reporting this issue.
.
CVE-2025-8277 : Memory Exhaustion Vulnerability in libssh During Key Exchange Processes