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.
CVE-2025-4878
Score 3.6 from GitHub Security Advisory (severity: LOW) published 2025-07-22. a secondary CVSS source baseline 3.6; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 3.6
- EG Score
- 3.6LOWmedium confidence
- EG Risk
- 16EG Risk 16/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity36% × 45%Exploitation0% × 40%Automatability0% × 15% - EPSS PROB
- 0.2%
- EPSS %ILE
- 8th
- KEV
- Not listed
Published
July 22, 2025
Last Modified
September 1, 2026
References (6)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2026:18683
- secalert@redhathttps://access.redhat.com/security/cve/CVE-2025-4878
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2376184
- secalert@redhathttps://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1
- secalert@redhathttps://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb
- secalert@redhathttps://www.libssh.org/security/advisories/CVE-2025-4878.txt
Vendor Advisories for CVE-2025-4878(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:18683Red Hat Product SecurityMedium
Red Hat Security Advisory: libssh security update
- CVE-2025-4878Microsoft Security Response Center (MSRC)Low
Libssh: use of uninitialized variable in privatekey_from_file()
- GHSA-q2fw-m52x-w593GitHub Security AdvisoriesLow
A vulnerability was found in libssh, where an uninitialized variable exists under certain...
Patch Availability(3)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libssh-gcrypt-dev (0.9.3-2ubuntu2.5+esm1) @ focal | 2026-09-01 | ubuntu |
| ubuntu | libssh-gcrypt-dev (0.9.6-2ubuntu0.22.04.4) @ jammy | 2026-09-01 | ubuntu |
| redhat | libssh-0:0.10.4-18.el9 | 2026-05-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | 0.9.5-1 ... 0.9.8-0+deb11u1 (6 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | 0.10.5-2, 0.10.5-3, 0.10.5-3+hurd.1, 0.10.6-0+deb12u1 |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 8× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 222 total refreshes for this CVE.
- 2026-10-10 02:55 UTCOSV refresh
- 2026-10-09 20:06 UTCEPSS rescore
- 2026-10-08 17:10 UTCEPSS rescore
- 2026-10-07 23:47 UTCEPSS rescore
- 2026-10-06 15:17 UTCEPSS rescore
- 2026-10-05 17:42 UTCEPSS rescore
- 2026-10-04 23:21 UTCEPSS rescore
- 2026-10-03 14:24 UTCEPSS rescore
- 2026-10-01 19:49 UTCEPSS rescore
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-28 13:50 UTCEPSS rescore
- 2026-09-27 13:45 UTCEPSS rescore
- 2026-09-26 15:58 UTCEPSS rescore
- 2026-09-26 00:25 UTCEPSS rescore
- 2026-09-24 14:02 UTCEPSS rescore
- 2026-09-24 14:02 UTCEPSS rescore
- 2026-09-23 13:47 UTCEPSS rescore
- 2026-09-21 21:06 UTCEPSS rescore
- 2026-09-20 20:15 UTCEPSS rescore
- 2026-09-20 20:15 UTCEPSS rescore
- 2026-09-20 11:51 UTCOSV refresh
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-17 19:29 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-16 14:07 UTCEPSS rescore
- 2026-09-15 03:09 UTCEPSS rescore
- 2026-09-12 15:00 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-05 15:28 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEG score recompute
- 2026-09-01 13:53 UTCVendor advisory
- 2026-09-01 13:53 UTCGHSA enrichment
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 12:25 UTCEG score recompute
- 2026-09-01 12:25 UTCVendor advisory
- 2026-09-01 12:25 UTCGHSA enrichment
- 2026-09-01 04:38 UTCEPSS rescore
- 2026-08-31 16:43 UTCEG score recompute
- 2026-08-31 16:43 UTCVendor advisory
- 2026-08-31 16:43 UTCGHSA enrichment
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 14:45 UTCEPSS rescore
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-24 14:16 UTCEPSS rescore
- 2026-08-24 09:22 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-21 13:24 UTCEG score recompute
- 2026-08-21 13:24 UTCVendor advisory
- 2026-08-21 13:24 UTCGHSA enrichment
- 2026-08-21 13:10 UTCEG score recompute
- 2026-08-21 13:10 UTCVendor advisory
- 2026-08-21 13:10 UTCGHSA enrichment
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 09:24 UTCOSV refresh
- 2026-08-11 13:41 UTCEPSS rescore
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 16:36 UTCEPSS rescore
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:35 UTCEPSS rescore
- 2026-07-27 16:27 UTCOSV refresh
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 02:57 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:libssh
Same vendor
10 shownredhat:RHSA-2026:18683 · ubuntu:USN-7619-1
Frequently asked(5)
What is CVE-2025-4878?
When was CVE-2025-4878 disclosed?
Is CVE-2025-4878 actively exploited?
What is the CVSS score of CVE-2025-4878?
How do I remediate CVE-2025-4878?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-4878
Is Your Infrastructure Affected by CVE-2025-4878?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.