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

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 90:0.10.4-18.el9
Red HatRed Hat Enterprise Linux 90:0.10.4-18.el9
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat In-Vehicle Operating System 1
amazon:2023libssh-devel0
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 8
amazon:2023libssh-config0
0
Red HatRed Hat Enterprise Linux 7
amazon:2023libssh0
alpinelibssh0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›