VDB
CVE-2025-4878
CVE-2025-4878
PUBLISHED
CVSS 3.6 LOW
Libssh: use of uninitialized variable in privatekey_from_file()
Reported by redhat · Published July 22, 2025
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.
Risk scores
CVSS 3.1
3.6
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat In-Vehicle Operating System 1 | |
| amazon:2023 | libssh-devel | 0 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| amazon:2023 | libssh-config | 0 |
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2023 | libssh | 0 |
| alpine | libssh | 0 |
…and 3 more
Timeline
- Jun 29, 2025 CVE Published
- Jul 22, 2025 Coalition ESS Score (11 in total, the first dated here)
- Jul 23, 2025 EPSS Score (30 in total, the first dated here)
- May 15, 2026 Security Advisory (43 in total, the first dated here)
- May 29, 2026 Distribution Patch (43 in total, the first dated here)
- Oct 13, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-4878
vulnetix vdb fixes CVE-2025-4878
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4878/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2026:18683 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2376184 issue-trackingx_refsource_REDHAT