We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-4878

Libssh: use of uninitialized variable in privatekey_from_file()



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.

Reserved 2025-05-16 | Published 2025-07-22 | Updated 2025-07-22 | Assigner redhat


LOW: 3.6CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Problem types

Use After Free

Product status

Default status
affected

Default status
unknown

Default status
unknown

Default status
affected

Default status
affected

Default status
affected

Timeline

2025-07-03:Reported to Red Hat.
2025-06-24:Made public.

References

access.redhat.com/security/cve/CVE-2025-4878 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2376184 (RHBZ#2376184) issue-tracking

cve.org (CVE-2025-4878)

nvd.nist.gov (CVE-2025-4878)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-4878

Support options

Helpdesk Chat, Email, Knowledgebase