This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page.
View CVE-2025-4878 →
Unrated
A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw...
UBUNTU-CVE-2025-4878
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSlibssh |
< 0.6.3-4.3ubuntu0.6+esm2→ 0.6.3-4.3ubuntu0.6+esm2 |
0.6.3-4.3ubuntu0.6+esm2 |
| Ubuntu:Pro:18.04:LTSlibssh |
< 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4→ 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4 |
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4 |
| Ubuntu:Pro:20.04:LTSlibssh |
< 0.9.3-2ubuntu2.5+esm1→ 0.9.3-2ubuntu2.5+esm1 |
0.9.3-2ubuntu2.5+esm1 |
| Ubuntu:22.04:LTSlibssh |
< 0.9.6-2ubuntu0.22.04.4→ 0.9.6-2ubuntu0.22.04.4 |
0.9.6-2ubuntu0.22.04.4 |
| Ubuntu:24.04:LTSlibssh |
< 0.10.6-2ubuntu0.1→ 0.10.6-2ubuntu0.1 |
0.10.6-2ubuntu0.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report libssh.org