CVE-2025-4878
Low
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.
SeverityLow
CVSS3.6
Exploit probability—
Product
Libssh
PublishedJul 22, 2025
First seenJul 22, 2025
Weakness typeCWE-416Use after free
How to fix
Update
- libssh0.11.2 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libssh | v < 0.11.2 | 0.11.2 |
| enterprise_linux 9 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 8 | No range specified | — |
| Red Hat Red Hat OpenShift Container Platform 4 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.