CVE-2025-8277: Missing Release of Memory after Effective Lifetime
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.
AI Analysis
Technical Summary
CVE-2025-8277 is a vulnerability in libssh's key exchange process where repeated incorrect key exchange guesses cause the library to fail to release allocated memory. This memory leak can accumulate over time, leading to exhaustion of system memory and crashes on the client side, especially when using libgcrypt. The issue affects libssh version 0.6.0 as used in Red Hat Enterprise Linux 10. Red Hat has acknowledged the vulnerability and issued a security advisory with patches available in updated libssh packages for Red Hat Enterprise Linux 9, which likely apply similarly to RHEL 10.
Potential Impact
The vulnerability results in a denial of service condition due to memory exhaustion caused by unreleased memory during repeated key exchange attempts. This can cause client-side crashes and reduce application stability and availability. There is no impact on confidentiality or integrity. The CVSS score is 3.1 (low severity), reflecting the limited scope of impact.
Mitigation Recommendations
Red Hat has released security updates for libssh that address this memory exhaustion vulnerability. Users should apply the official patches provided in the Red Hat Enterprise Linux 9 and 10 updates as referenced in the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2025-8277). Patch status is confirmed by the vendor advisory. No additional mitigation steps are required beyond applying the official fix.
CVE-2025-8277: Missing Release of Memory after Effective Lifetime
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 v3.1
Score 3.1low
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-8277 is a vulnerability in libssh's key exchange process where repeated incorrect key exchange guesses cause the library to fail to release allocated memory. This memory leak can accumulate over time, leading to exhaustion of system memory and crashes on the client side, especially when using libgcrypt. The issue affects libssh version 0.6.0 as used in Red Hat Enterprise Linux 10. Red Hat has acknowledged the vulnerability and issued a security advisory with patches available in updated libssh packages for Red Hat Enterprise Linux 9, which likely apply similarly to RHEL 10.
Potential Impact
The vulnerability results in a denial of service condition due to memory exhaustion caused by unreleased memory during repeated key exchange attempts. This can cause client-side crashes and reduce application stability and availability. There is no impact on confidentiality or integrity. The CVSS score is 3.1 (low severity), reflecting the limited scope of impact.
Mitigation Recommendations
Red Hat has released security updates for libssh that address this memory exhaustion vulnerability. Users should apply the official patches provided in the Red Hat Enterprise Linux 9 and 10 updates as referenced in the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2025-8277). Patch status is confirmed by the vendor advisory. No additional mitigation steps are required beyond applying the official fix.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- redhat
- Date Reserved
- 2025-07-28T11:02:27.938Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-8277","vendor":"Red Hat"}]
Threat ID: 68c016a78380a768a8363979
Added to database: 09/09/2025, 11:59:35 UTC
Last enriched: 07/02/2026, 21:59:55 UTC
Last updated: 07/05/2026, 08:51:21 UTC
Views: 498
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.