CVE Explore

CVE-2025-4877

CVE-2025-4877

CVSS v3
4.5 Medium
Public exploits
None known
EPSS
0.002 · 14.6th percentile
Published
2025-08-20

There's a vulnerability in the libssh package where when a libssh consumer passes in an unexpectedly large input buffer to ssh_get_fingerprint_hash() function. In such cases the bin_to_base64() function can experience an integer overflow leading to a memory under allocation, when that happens it's possible that the program perform out of bounds write leading to a heap corruption.
This issue affects only 32-bits builds of libssh.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.

Attack Vector
Local AV:L
Attack Complexity
High AC:H
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
Low C:L
Integrity
Low I:L
Availability
Low A:L

EPSS exploit prediction

EPSS 0.002, 14.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (8-cm/kube-dump, ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References