What’s Vulnerable › Vulnerabilities

CVE-2025-8277: Libssh: memory exhaustion via repeated key exchange in libssh

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Enterprise Linux 9 0:0.10.4-18.el9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-8277 or the next vulnerability affects your stack