CVE-2025-4877Red Hat Enterprise Linux 9
Medium 4.5
Follow: this CVE · Red Hat · Red Hat Enterprise Linux 9 We alert you by email or Slack (account required).
- Priority
- 27
- CVSS 3.1
- 4.5
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 20, 2025
- Updated
- Nov 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Red Hat Enterprise Linux 9.
Affected products
- Red Hat · Red Hat Enterprise Linux 9
- Red Hat · Red Hat Enterprise Linux 10
- Red Hat · Red Hat Enterprise Linux 6
- Red Hat · Red Hat Enterprise Linux 7
- Red Hat · Red Hat Enterprise Linux 8
- Red Hat · Red Hat OpenShift Container Platform 4
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: libssh security update · Red Hat · RHSA-2026:18683 · May 20, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.