CVE-2025-4877: Libssh: write beyond bounds in binary to base64 conversion functions
Redhat · libssh
Vendor fix available · Affected: Redhat libssh · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 12% of scored CVEs
DescriptionCVE.org
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.
Affected products9
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- libsshbefore 0.11.2
- Red Hat · Red Hat Enterprise Linux 9Versions not stated
- Red Hat · Red Hat Enterprise Linux 9Versions not stated
- Red Hat · Red Hat Enterprise Linux 10Versions not stated
- Red Hat · Red Hat Enterprise Linux 6Versions not stated
- Red Hat · Red Hat Enterprise Linux 7Versions not stated
- Red Hat · Red Hat Enterprise Linux 8Versions not stated
- Red Hat · Red Hat OpenShift Container Platform 4Versions not stated
- Red Hat · Red Hat OpenShift Container Platform 4Versions not stated
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Redhat
- Published
- August 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-4877 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-787cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- access.redhat.com/security/cve/CVE-2025-4877access.redhat.com
- Issue trackerbugzilla.redhat.com
- git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=6fd9git.libssh.org
- libssh.org/security/advisories/CVE-2025-4877.txtlibssh.org