Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2025-4877 →
Unrated

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()...

UBUNTU-CVE-2025-4877 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:16.04:LTSlibssh
< 0.6.3-4.3ubuntu0.6+esm2→ 0.6.3-4.3ubuntu0.6+esm2
Ubuntu:Pro:18.04:LTSlibssh
< 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4→ 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4
Ubuntu:Pro:20.04:LTSlibssh
< 0.9.3-2ubuntu2.5+esm1→ 0.9.3-2ubuntu2.5+esm1
Ubuntu:22.04:LTSlibssh
< 0.9.6-2ubuntu0.22.04.4→ 0.9.6-2ubuntu0.22.04.4
Ubuntu:24.04:LTSlibssh
< 0.10.6-2ubuntu0.1→ 0.10.6-2ubuntu0.1
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details