The publickey_from_privatekey function in libssh before 0.5.4, when no algorithm is matched during negotiations, allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a "Client: Diffie-Hellman Key Exchange Init" packet.
2013-02-05T23:55:01.850
2025-04-11T00:51:21.963
Deferred
CVSSv2: 4.3 (MEDIUM)
AV:N/AC:M/Au:N/C:N/I:N/A:P
8.6
2.9
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | libssh | libssh | ≤ 0.5.3 | Yes |
| Application | libssh | libssh | 0.4.7 | Yes |
| Application | libssh | libssh | 0.4.8 | Yes |
| Application | libssh | libssh | 0.5.0 | Yes |
| Application | libssh | libssh | 0.5.0 | Yes |
| Application | libssh | libssh | 0.5.1 | Yes |
| Application | libssh | libssh | 0.5.2 | Yes |