CVE-2016-0787

MEDIUM

libssh2 <1.7.0 - Info Disclosure

Title source: llm

Description

The diffie_hellman_sha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or 256 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug."

Scores

CVSS v3 5.9
EPSS 0.0406
EPSS Percentile 88.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE
CWE-200
Status draft

Affected Products (6)

fedoraproject/fedora
fedoraproject/fedora
opensuse/opensuse
libssh2/libssh2 < 1.6.0
debian/debian_linux
debian/debian_linux

Timeline

Published Apr 13, 2016
Tracked Since Feb 18, 2026