NULL pointer dereference in libssh - CVE-2025-8114

 

NULL pointer dereference in libssh - CVE-2025-8114

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


Vulnerability identifier: #VU115173
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-8114
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libssh
Affected software:
libssh

Detailed vulnerability description

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

The vulnerability exists due to a NULL pointer dereference error when calculating the session ID during the key exchange (KEX) process. A remote attacker can trick the victim into connecting to a malicious SSH server and crash the client app.


How to mitigate CVE-2025-8114

Install update from vendor's website.

Sources