CVE-2025-4878
Published: Jul 22, 2025
Modified: May 19, 2026
CVSS v3.1
3.6
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.
| Vendor | Product | Versions |
|---|---|---|
Unknown | libssh | affected 0 - < 0.11.2 |
Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:0.10.4-18.el9 - < * |
Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:0.10.4-18.el9 - < * |
Red Hat | Red Hat Enterprise Linux 10 | All versions |
Red Hat | Red Hat Enterprise Linux 6 | All versions |
Red Hat | Red Hat Enterprise Linux 7 | All versions |
Red Hat | Red Hat Enterprise Linux 8 | All versions |
Red Hat | Red Hat OpenShift Container Platform 4 | All versions |
Weaknesses (CWE)
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now