{"id":"CVE-2025-8277","published":"2025-09-09T11:55:39Z","modified":"2026-11-06T17:46:44Z","title":"Libssh: memory exhaustion via repeated key exchange in libssh","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00431,"percentile":0.38241,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:18683","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-8277","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2383888","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://www.libssh.org/security/advisories/CVE-2025-8277.txt","tags":[]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":7.65},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 0.6.0, < 0.11.3"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. It is strongly advised to apply updated libssh packages once available to prevent memory exhaustion risks on client systems."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-09T19:28:17.013547Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27246","exploited":false,"provenance":"source"}}