CVE-2016-0787

libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length

Published Apr 13, 2016 CVSS 3.0 · 5.9 Medium EPSS 2.6% KEV · Not listed
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."

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-426-1 libssh2 security update
Debian DSA Debian DSA DSA-3487-1 libssh2 security update
EUVD EUVD EUVD-2016-0800 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."
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 10:30 PM
Reserved
Dec 16, 2015, 12:00 AM
Status
Modified
Published
Apr 13, 2016, 5:59 PM
Modified
Jun 17, 2026, 12:38 AM
Severity
Moderate
Public date
Feb 23, 2016, 12:00 AM