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

Libssh: use of uninitialized variable in privatekey_from_file()

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

Summary

A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn't exist and may lead to possible signing failures or heap corruption.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • libssh

    fixed in 0.11.2

  • 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 6

access.redhat.com

bugzilla.redhat.com

git.libssh.org

libssh.org