CVE-2025-8277

published 9 Sep 2025 · updated 6 Nov 2026

Libssh: memory exhaustion via repeated key exchange in libssh

3.1LowCVSS 3.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.11.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatOpenShift Container Platform
>=0.6.0 <0.11.30.11.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-8277 severity on Zeptric[![CVE-2025-8277](https://zeptric.io/badge/cve/CVE-2025-8277.svg)](https://zeptric.io/cve/CVE-2025-8277)