Security mailing lists by PureSourceCode

CVE-2025-4878

LOW 3.6CVSS 3.1

Libssh: use of uninitialized variable in privatekey_from_file()

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.

Published
22 Jul 2025
Last modified
25 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-416
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 LOW 3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
CVE List redhat CVSS 3.1 LOW 3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://www.libssh.org/ libssh < 0.11.2 0.11.2
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/o:redhat:enterprise_linux:10
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh2
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh2
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/o:redhat:enterprise_linux:8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ openshift/ose-rhel-coreos-8
cpe:/a:redhat:openshift:4
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ openshift/ose-rhel-coreos-9
cpe:/a:redhat:openshift:4
all versions

References

History

  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 22 Jul 2025)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 22 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.