UBUNTU-CVE-2016-0787

    Dashboard / Vulnerabilities / UBUNTU-CVE-2016-0787

    UBUNTU-CVE-2016-0787

    Published: 13 Apr 2016Last Modified: 22 Apr 2026
    Upstream:

    Summary:

    Details: 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."

    Affected packages

    Package

    Name: libssh2

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.4.3-2ubuntu0.1

    Affected versions

    1.4.3-1
    1.4.3-2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High