What’s Vulnerable › Vulnerabilities

CVE-2025-4878: Libssh: use of uninitialized variable in privatekey_from_file()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Enterprise Linux 9 0:0.10.4-18.el9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-4878 or the next vulnerability affects your stack