Skip to main content
← All vulnerabilities
CVE-2025-8277

Libssh: memory exhaustion via repeated key exchange in libssh

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.11.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • libssh

    From 0.6.0 · fixed in 0.11.3

  • libssh

    Version range not reported

  • libssh

    Version range not reported

  • libssh

    Version range not reported

  • libssh2

    Version range not reported

  • libssh2

    Version range not reported

  • libssh

    Version range not reported

  • openshift/ose-rhel-coreos-8

    Version range not reported

  • openshift/ose-rhel-coreos-9

    Version range not reported

References 4

access.redhat.com

bugzilla.redhat.com

libssh.org