CVE-2025-8277
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0.6.0 < 0.11.3 | affected | ||
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 < * | unaffected |
Weaknesses
- CWE-401: Missing Release of Memory after Effective Lifetime
Workarounds
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.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://access.redhat.com/errata/RHSA-2026:18683
- https://access.redhat.com/security/cve/CVE-2025-8277
- https://bugzilla.redhat.com/show_bug.cgi?id=2383888
- https://www.libssh.org/security/advisories/CVE-2025-8277.txt
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.