NULL pointer dereference in libssh - CVE-2015-3146

 

NULL pointer dereference in libssh - CVE-2015-3146

Published: September 12, 2025


Vulnerability identifier: #VU115176
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2015-3146
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 user to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error when handling SSH_MSG_NEWKEYS and SSH_MSG_KEXDH_REPLY packets in package_cb.c. A remote user can trigger denial of service conditions via a crafted SSH packet.


How to mitigate CVE-2015-3146

Install update from vendor's website.

Sources