CVE-2025-4877

Source
https://cve.org/CVERecord?id=CVE-2025-4877
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4877.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-4877
Downstream
ALPINE (1)
ALSA (1)
BELL (1)
CLSA (2)
DEBIAN (1)
MGASA (1)
OESA (6)
openSUSE (1)
RHSA (1)
RLSA (1)
ROOT (1)
SUSE (7)
UBUNTU (1)
Related
Published
2025-08-20T13:15:28Z
Modified
2026-05-26T16:14:28Z
Severity
  • 4.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages