p PatchFirst

CVE-2016-0787

CVE-2016-0787

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 5.9 · Medium · EPSS 2.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • libssh2 Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.5.0-2.1

    Update to 1.5.0-2.1

  • libssh2 Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.5.0-2.1

    Update to 1.5.0-2.1

  • libssh2 Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.5.0-2.1

    Update to 1.5.0-2.1

  • libssh2 Ubuntu:14.04:LTS

    Versions
    • 1.4.3-1
    • 1.4.3-2
    Affected ranges
    • ECOSYSTEM: < 1.4.3-2ubuntu0.1

    Update to 1.4.3-2ubuntu0.1

  • libssh2 Ubuntu:16.04:LTS

    Versions
    • 1.5.0-2
    Affected ranges
    • ECOSYSTEM: < 1.5.0-2ubuntu0.1

    Update to 1.5.0-2ubuntu0.1

Original sources

Check your server →