#VU113839 Integer overflow in libssh - CVE-2025-4877
Published: August 12, 2025
libssh
libssh
Description
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the bin_to_base64() function in base64.c. A local user can trigger an integer overflow and execute arbitrary code on the target system.
Note, the vulnerability can be exploited only via the ssh_get_fingerprint_hash() function on 32-bit builds in case the API is (mis)used and a libssh consumer passes in an unexpectedly large input buffer.