Libssh: use of uninitialized variable in privatekey_from_file()

CVE Details

Basic Information

Title Libssh: use of uninitialized variable in privatekey_from_file()
Type cve
Published 2025-07-22T14:17:03.122Z
Modified 2025-07-22T14:35:00.989Z

Product Information

Vendor Red Hat
Product Red Hat Enterprise Linux 10

CVSS Information

Base Score 3.6 (LOW)
Attack Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Additional Information

CWE List CWE-416
Source redhat

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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.