#VU114093 Incorrect calculation in libssh - CVE-2025-5372

 

#VU114093 Incorrect calculation in libssh - CVE-2025-5372

Published: August 14, 2025 / Updated: February 24, 2026


Vulnerability identifier: #VU114093
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:U/U:Clear
CVE-ID: CVE-2025-5372
CWE-ID: CWE-682
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
libssh
Software vendor:
libssh

Description

The vulnerability allows a remote user to perform MitM attack.

The vulnerability exist due to incorrect calculation within the ssh_kdf() function responsible for key derivation when built with OpenSSL versions older than 3.0. A remote user can compromise the integrity of the SSH session. 


Remediation

Rebuild your libssh with OpenSSL 3.0+ to resolve the issue.

External links