← CVE Intelligence

CVE-2025-4878

Libssh: use of uninitialized variable in privatekey_from_file() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Not supplied / Not suppliedaffected 0 before 0.11.2
Red Hat / Red Hat Enterprise Linux 9unaffected 0:0.10.4-18.el9 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:0.10.4-18.el9 before *
Red Hat / Red Hat Enterprise Linux 10affected
Red Hat / Red Hat Enterprise Linux 6unknown
Red Hat / Red Hat Enterprise Linux 7unknown
Red Hat / Red Hat Enterprise Linux 8affected
Red Hat / Red Hat OpenShift Container Platform 4affected
Red Hat / Red Hat OpenShift Container Platform 4affected

CWE

CWE-416

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.