Every CVE Search/ Get API key

CVE-2015-1782

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of...

6.8 MediumFix available

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Exploit likelihood

3.50%Up 2.3 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
CVE-2015-1782
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
CVE-2015-1782
Updated
2026-11-02
EUVDEUVD-2015-1909 No score

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
EUVD-2015-1909
Updated
2026-11-03
GitHub AdvisoriesGHSA-47g3-jvrj-pm9m No score

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of...

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
GHSA-47g3-jvrj-pm9m
Weakness
CWE-20
Updated
2026-11-02
OSV No score

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
CVE-2015-1782
Updated
2026-11-02
OSVDEBIAN-CVE-2015-1782 No score

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
DEBIAN-CVE-2015-1782
Updated
2026-11-02
Show 6 moreShow less
OSVMGASA-2015-0107 No score

Updated libssh2 packages fix CVE-2015-1782

Updated libssh2 packages fix security vulnerability:

Mariusz Ziulek reported that libssh2, a SSH2 client-side library, was reading and using the SSH_MSG_KEXINIT packet without doing sufficient range checks when negotiating a new SSH session with a remote server. A malicious attacker could man in the middle a real server and cause a client using the libssh2 library to crash (denial of service) or otherwise read and use unintended memory areas in this process (CVE-2015-1782).

Record
MGASA-2015-0107
Updated
2026-11-02
OSVopenSUSE-SU-2024:10190-1 No score

libssh2-1-1.7.0-1.5 on GA media

These are all security issues fixed in the libssh2-1-1.7.0-1.5 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10190-1
Updated
2026-11-02
OSVSUSE-RU-2023:4066-1 No score

Recommended update for libssh2_org

This update for libssh2_org fixes the following issues:

libssh2_org was upgraded to version 1.11.0 in SUSE Linux Enterprise Server 12 SP5 (jsc#PED-5721)

Version update to 1.11.0:

  • Enhancements and bugfixes:

    • Adds support for encrypt-then-mac (ETM) MACs
    • Adds support for AES-GCM crypto protocols
    • Adds support for sk-ecdsa-sha2-nistp256 and sk-ssh-ed25519 keys
    • Adds support for RSA certificate authentication
    • Adds FIDO support with *_sk() functions
    • Adds RSA-SHA2 key upgrading to OpenSSL, WinCNG, mbedTLS, OS400 backends
    • Adds Agent Forwarding and libssh2_agent_sign()
    • Adds support for Channel Signal message libssh2_channel_signal_ex()
    • Adds support to get the user auth banner message libssh2_userauth_banner()
    • Adds LIBSSH2_NO_{MD5, HMAC_RIPEMD, DSA, RSA, RSA_SHA1, ECDSA, ED25519, AES_CBC, AES_CTR, BLOWFISH, RC4, CAST, 3DES} options
    • Adds direct stream UNIX sockets with libssh2_channel_direct_streamlocal_ex()
    • Adds wolfSSL support to CMake file
    • Adds mbedTLS 3.x support
    • Adds LibreSSL 3.5 support
    • Adds support for CMake 'unity' builds
    • Adds CMake support for building shared and static libs in a single pass
    • Adds symbol hiding support to CMake
    • Adds support for libssh2.rc for all build tools
    • Adds .zip, .tar.xz and .tar.bz2 release tarballs
    • Enables ed25519 key support for LibreSSL 3.7.0 or higher
    • Improves OpenSSL 1.1 and 3 compatibility
    • Now requires OpenSSL 1.0.2 or newer
    • Now requires CMake 3.1 or newer
    • SFTP: Adds libssh2_sftp_open_ex_r() and libssh2_sftp_open_r() extended APIs
    • SFTP: No longer has a packet limit when reading a directory
    • SFTP: now parses attribute extensions if they exist
    • SFTP: no longer will busy loop if SFTP fails to initialize
    • SFTP: now clear various errors as expected
    • SFTP: no longer skips files if the line buffer is too small
    • SCP: add option to not quote paths
    • SCP: Enables 64-bit offset support unconditionally
    • Now skips leading \r and \n characters in banner_receive()
    • Enables secure memory zeroing with all build tools on all platforms
    • No longer logs SSH_MSG_REQUEST_FAILURE packets from keepalive
    • Speed up base64 encoding by 7x
    • Assert if there is an attempt to write a value that is too large
    • WinCNG: fix memory leak in _libssh2_dh_secret()
    • Added protection against possible null pointer dereferences
    • Agent now handles overly large comment lengths
    • Now ensure KEX replies don't include extra bytes
    • Fixed possible buffer overflow when receiving SSH_MSG_USERAUTH_BANNER
    • Fixed possible buffer overflow in keyboard interactive code path
    • Fixed overlapping memcpy()
    • Fixed DLL import name
    • Renamed local RANDOM_PADDING macro to avoid unexpected define on Windows
    • Support for building with gcc versions older than 8
    • Improvements to CMake, Makefile, NMakefile, GNUmakefile, autoreconf files
    • Restores ANSI C89 compliance
    • Enabled new compiler warnings and fixed/silenced them
    • Improved error messages
    • Now uses CIFuzz
    • Numerous minor code improvements
    • Improvements to CI builds
    • Improvements to unit tests
    • Improvements to doc files
    • Improvements to example files
    • Removed 'old gex' build option
    • Removed no-encryption/no-mac builds
    • Removed support for NetWare and Watcom wmake build files

Version update to 1.10.0:

  • Enhancements and bugfixes:

    • support ECDSA certificate authentication
    • fix detailed _libssh2_error being overwritten by generic errors
    • unified error handling
    • fix _libssh2_random() silently discarding errors
    • don't error if using keys without RSA
    • avoid OpenSSL latent error in FIPS mode
    • fix EVP_Cipher interface change in openssl 3
    • fix potential overwrite of buffer when reading stdout of command
    • use string_buf in ecdh_sha2_nistp() to avoid attempting…
Record
SUSE-RU-2023:4066-1
Updated
2026-11-02
OSVSUSE-SU-2015:0669-1 No score

Security update for libssh2_org

The ssh client library libssh2_org was updated to fix a security issue.

CVE-2015-1782: A malicious server could send a crafted SSH_MSG_KEXINIT packet, that could lead to a buffer overread and to a crash of the libssh2_org using application.

Record
SUSE-SU-2015:0669-1
Updated
2026-11-02
OSVSUSE-SU-2015:0676-1 No score

Security update for libssh2_org

The ssh client library libssh2_org was updated to fix a security issue:

* CVE-2015-1782: A malicious server could send a crafted
  SSH_MSG_KEXINIT packet, that could lead to a buffer overread and to a
  crash of the application using libssh2_org.

Security Issues:

* CVE-2015-1782
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1782>
Record
SUSE-SU-2015:0676-1
Updated
2026-11-02
OSVUBUNTU-CVE-2015-1782 No score

The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

Record
UBUNTU-CVE-2015-1782
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libssh2
Debian:12
before 1.4.3-4.1
1.4.3-4.1
libssh2
Debian:13
before 1.4.3-4.1
1.4.3-4.1
libssh2
Debian:14
before 1.4.3-4.1
1.4.3-4.1
libssh2
Debian:6.0
before 1.2.6-1+deb6u1, plus listed versions
1.2.6-1
1.2.6-1+deb6u1
libssh2
Debian:7
before 1.4.2-1.1+deb7u1, plus listed versions
1.4.2-1.1
1.4.2-1.1+deb7u1
libssh2
Mageia:4
before 1.4.3-3.1.mga4
1.4.3-3.1.mga4
libssh2-debuginfo
Red Hat:enterprise_linux:7::client
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-devel
Red Hat:enterprise_linux:7::client
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-docs
Red Hat:enterprise_linux:7::client
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2
Red Hat:enterprise_linux:7::client
before 0:1.4.3-10.el7
0:1.4.3-10.el7
Show 21 moreShow less
Affected packages
PackageAffectedFixed
libssh2-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-devel
Red Hat:enterprise_linux:7::computenode
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-docs
Red Hat:enterprise_linux:7::computenode
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2
Red Hat:enterprise_linux:7::computenode
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-debuginfo
Red Hat:enterprise_linux:7::server
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-devel
Red Hat:enterprise_linux:7::server
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-docs
Red Hat:enterprise_linux:7::server
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2
Red Hat:enterprise_linux:7::server
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-devel
Red Hat:enterprise_linux:7::workstation
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2-docs
Red Hat:enterprise_linux:7::workstation
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2
Red Hat:enterprise_linux:7::workstation
before 0:1.4.3-10.el7
0:1.4.3-10.el7
libssh2_org
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 2 CVEs
before 1.11.0-29.6.1
1.11.0-29.6.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 2 CVEs
before 1.11.0-29.6.1
1.11.0-29.6.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 2 CVEs
before 1.11.0-29.6.1
1.11.0-29.6.1
libssh2_org
SUSE:Linux Enterprise Desktop 12
before 1.4.3-11.1
1.4.3-11.1
libssh2_org
SUSE:Linux Enterprise Software Development Kit 12
before 1.4.3-11.1
1.4.3-11.1
libssh2_org
SUSE:Linux Enterprise Server 12
before 1.4.3-11.1
1.4.3-11.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12
before 1.4.3-11.1
1.4.3-11.1
libssh2
Ubuntu:14.04:LTS
before 1.4.3-2ubuntu0.2, plus listed versions
1.4.3-11.4.3-21.4.3-2ubuntu0.1
1.4.3-2ubuntu0.2
libssh2_org
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 1.7.0-1.5
1.7.0-1.5

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-1782 is a medium vulnerability (CVSS 6.8) in Libssh2, published March 9, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.50%, the 89th percentile. Fixed in libssh2 1.4.3-4.1.

References

Show 22 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open