Integer overflow in libssh - CVE-2025-5449

 

Integer overflow in libssh - CVE-2025-5449

Published: September 12, 2025 / Updated: February 24, 2026


Vulnerability identifier: #VU115174
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-5449
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libssh
Affected software:
libssh

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an incorrect packet length check within the SFTP server message decoding logic when handling large payload sizes on 32-bit systems. A remote attacker can trick the victim into connecting to a malicious server, trigger an integer overflow and crash the application.


How to mitigate CVE-2025-5449

Install updates from vendor's website.

Sources