Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-4877 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-787Out-of-bounds Write[email protected]

Affected Products

ProductVersions
libssh
>= 0, < 0.11.2

CPE

  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 0.11.2moderate effort
  • Mitigation:low effort

    Avoid using the ssh_get_fingerprint_hash() function to encode arbitrary buffers larger than 1GB on 32-bit architecture.

Change History

9 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-4877
NVD Published Date:
Aug 20, 2025
NVD Last Modified:
Nov 5, 2026
Source:
[email protected]
CVE-2025-4877 Details - Not Deferred