CVE-2025-8277 — Missing Release of Memory after Effective Lifetime in Libssh
Severity
3.1LOWNVD
EPSS
0.1%
top 83.50%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 9
Latest updateFeb 23
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
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LExploitability: 1.6 | Impact: 1.4
Affected Packages13 packages
🔴Vulnerability Details
4OSV▶
CVE-2025-8277: A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses↗2025-09-09
GHSA▶
GHSA-39mw-228p-wr6v: A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses↗2025-09-09
📋Vendor Advisories
6Debian▶
CVE-2025-8277: libssh - A flaw was found in libssh's handling of key exchange (KEX) processes when a cli...↗2025