Every CVE Search/ Get API key

CVE-2019-17498

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer...

8.1 HighPublic exploitFix available

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

3.81%Up 1.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
CVE-2019-17498
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
CVE-2019-17498
Updated
2026-11-02
EUVDEUVD-2019-7852 No score

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
EUVD-2019-7852
Updated
2026-11-02
GitHub AdvisoriesGHSA-h2hf-mx7w-fhwm 8.1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer...

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
GHSA-h2hf-mx7w-fhwm
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2019-17498 8.1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
ALPINE-CVE-2019-17498
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVAZL-6650 8.1

CVE-2019-17498 affecting package libssh2 for versions less than 1.9.0-1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
AZL-6650
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
Show 22 moreShow less
OSVBELL-CVE-2019-17498 8.1

CVE-2019-17498 does not affect BellSoft software

Record
BELL-CVE-2019-17498
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSV 8.1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
CVE-2019-17498
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-17498 8.1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
DEBIAN-CVE-2019-17498
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2025-188 8.1

In libssh2 v1.9.0 and earlier versions, the `SSH_MSG_DISCONNECT` logic in packet.c has an integer...

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
JLSEC-2025-188
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Updated
2026-11-02
OSVRHSA-2020:3915 6.5

Red Hat Security Advisory: libssh2 security update

Record
RHSA-2020:3915
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2019-17498 8.1

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.

Record
UBUNTU-CVE-2019-17498
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1776855642 No score

Fix CVE(s): CVE-2019-17498, CVE-2019-3857

  • SECURITY UPDATE: Integer overflow leading to out-of-bounds write when SSH_MSG_CHANNEL_REQUEST packets with exit signal messages are parsed.
    • debian/patches/CVE-2019-3857.patch: check namelen + 1 does not overflow before allocation in exit-signal handling.
    • CVE-2019-3857
  • SECURITY UPDATE: Integer overflow in bounds check in SSH_MSG_DISCONNECT packet parsing enabling out-of-bounds read.
    • debian/patches/CVE-2019-17498.patch: harden bounds checking in SSH_MSG_DISCONNECT, SSH_MSG_DEBUG, and SSH_MSG_GLOBAL_REQUEST handlers to prevent unsigned integer underflow and overflow.
    • CVE-2019-17498
Record
CLSA-2026-1776855642
Updated
2026-11-02
OSVCLSA-2026-1778159627 No score

libssh2: Fix of 2 CVEs

  • CVE-2019-13115: add bounds-checked string_buf helpers and use them in diffie_hellman_sha1() to prevent out-of-bounds read on malformed KEX reply
  • CVE-2019-17498: harden bounds checks in SSH_MSG_DISCONNECT, SSH_MSG_DEBUG and SSH_MSG_GLOBAL_REQUEST handlers to prevent integer overflow / out-of-bounds read
Record
CLSA-2026-1778159627
Updated
2026-11-02
OSVMGASA-2019-0343 No score

Updated libssh2 packages fix security vulnerability

The updated packages fix a security vulnerability:

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server. (CVE-2019-17498)

Record
MGASA-2019-0343
Updated
2026-11-02
OSVopenSUSE-SU-2019:2483-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issue:

  • CVE-2019-17498: Fixed an integer overflow in a bounds check that might have led to the disclosure of sensitive information or a denial of service (bsc#1154862).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:2483-1
Updated
2026-11-02
OSVopenSUSE-SU-2020:2126-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issues:

  • Version update to 1.9.0: [bsc#1178083, jsc#SLE-16922] Enhancements and bugfixes:

    • adds ECDSA keys and host key support when using OpenSSL
    • adds ED25519 key and host key support when using OpenSSL 1.1.1
    • adds OpenSSH style key file reading
    • adds AES CTR mode support when using WinCNG
    • adds PEM passphrase protected file support for Libgcrypt and WinCNG
    • adds SHA256 hostkey fingerprint
    • adds libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path()
    • adds explicit zeroing of sensitive data in memory
    • adds additional bounds checks to network buffer reads
    • adds the ability to use the server default permissions when creating sftp directories
    • adds support for building with OpenSSL no engine flag
    • adds support for building with LibreSSL
    • increased sftp packet size to 256k
    • fixed oversized packet handling in sftp
    • fixed building with OpenSSL 1.1
    • fixed a possible crash if sftp stat gets an unexpected response
    • fixed incorrect parsing of the KEX preference string value
    • fixed conditional RSA and AES-CTR support
    • fixed a small memory leak during the key exchange process
    • fixed a possible memory leak of the ssh banner string
    • fixed various small memory leaks in the backends
    • fixed possible out of bounds read when parsing public keys from the server
    • fixed possible out of bounds read when parsing invalid PEM files
    • no longer null terminates the scp remote exec command
    • now handle errors when diffie hellman key pair generation fails
    • improved building instructions
    • improved unit tests
  • Version update to 1.8.2: [bsc#1130103] Bug fixes:

    • Fixed the misapplied userauth patch that broke 1.8.1
    • moved the MAX size declarations from the public header This update was imported from the SUSE:SLE-15:Update update project.
Record
openSUSE-SU-2020:2126-1
Updated
2026-11-02
OSVopenSUSE-SU-2020:2129-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issues:

  • Version update to 1.9.0: [bsc#1178083, jsc#SLE-16922] Enhancements and bugfixes:

    • adds ECDSA keys and host key support when using OpenSSL
    • adds ED25519 key and host key support when using OpenSSL 1.1.1
    • adds OpenSSH style key file reading
    • adds AES CTR mode support when using WinCNG
    • adds PEM passphrase protected file support for Libgcrypt and WinCNG
    • adds SHA256 hostkey fingerprint
    • adds libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path()
    • adds explicit zeroing of sensitive data in memory
    • adds additional bounds checks to network buffer reads
    • adds the ability to use the server default permissions when creating sftp directories
    • adds support for building with OpenSSL no engine flag
    • adds support for building with LibreSSL
    • increased sftp packet size to 256k
    • fixed oversized packet handling in sftp
    • fixed building with OpenSSL 1.1
    • fixed a possible crash if sftp stat gets an unexpected response
    • fixed incorrect parsing of the KEX preference string value
    • fixed conditional RSA and AES-CTR support
    • fixed a small memory leak during the key exchange process
    • fixed a possible memory leak of the ssh banner string
    • fixed various small memory leaks in the backends
    • fixed possible out of bounds read when parsing public keys from the server
    • fixed possible out of bounds read when parsing invalid PEM files
    • no longer null terminates the scp remote exec command
    • now handle errors when diffie hellman key pair generation fails
    • improved building instructions
    • improved unit tests
  • Version update to 1.8.2: [bsc#1130103] Bug fixes:

    • Fixed the misapplied userauth patch that broke 1.8.1
    • moved the MAX size declarations from the public header This update was imported from the SUSE:SLE-15:Update update project.
Record
openSUSE-SU-2020:2129-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10999-1 No score

libssh2-1-1.9.0-3.6 on GA media

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

Record
openSUSE-SU-2024:10999-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-RU-2023:4192-1 No score

Recommended update for libssh2_org

This update for libssh2_org fixes the following issues:

  • Upgrade to version 1.11.0 in SLE-15: [jsc#PED-7040]

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 Windows UWP builds
    • 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
  • Bump to version 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:4192-1
Updated
2026-11-02
OSVSUSE-SU-2019:14206-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issue:

  • CVE-2019-17498: Fixed an integer overflow in a bounds check that might have led to the disclosure of sensitive information or a denial of service (bsc#1154862).
Record
SUSE-SU-2019:14206-1
Updated
2026-11-02
OSVSUSE-SU-2019:14226-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issue:

  • CVE-2019-17498: Fixed an integer overflow in a bounds check that might have led to the disclosure of sensitive information or a denial of service (bsc#1154862).
Record
SUSE-SU-2019:14226-1
Updated
2026-11-02
OSVSUSE-SU-2019:2900-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issue:

  • CVE-2019-17498: Fixed an integer overflow in a bounds check that might have led to the disclosure of sensitive information or a denial of service (bsc#1154862).
Record
SUSE-SU-2019:2900-1
Updated
2026-11-02
OSVSUSE-SU-2019:2900-2 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issue:

  • CVE-2019-17498: Fixed an integer overflow in a bounds check that might have led to the disclosure of sensitive information or a denial of service (bsc#1154862).
Record
SUSE-SU-2019:2900-2
Updated
2026-11-02
OSVSUSE-SU-2019:2936-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issue:

  • CVE-2019-17498: Fixed an integer overflow in a bounds check that might have led to the disclosure of sensitive information or a denial of service (bsc#1154862).
Record
SUSE-SU-2019:2936-1
Updated
2026-11-02
OSVSUSE-SU-2020:3551-1 No score

Security update for libssh2_org

This update for libssh2_org fixes the following issues:

  • Version update to 1.9.0: [bsc#1178083, jsc#SLE-16922] Enhancements and bugfixes:

    • adds ECDSA keys and host key support when using OpenSSL
    • adds ED25519 key and host key support when using OpenSSL 1.1.1
    • adds OpenSSH style key file reading
    • adds AES CTR mode support when using WinCNG
    • adds PEM passphrase protected file support for Libgcrypt and WinCNG
    • adds SHA256 hostkey fingerprint
    • adds libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path()
    • adds explicit zeroing of sensitive data in memory
    • adds additional bounds checks to network buffer reads
    • adds the ability to use the server default permissions when creating sftp directories
    • adds support for building with OpenSSL no engine flag
    • adds support for building with LibreSSL
    • increased sftp packet size to 256k
    • fixed oversized packet handling in sftp
    • fixed building with OpenSSL 1.1
    • fixed a possible crash if sftp stat gets an unexpected response
    • fixed incorrect parsing of the KEX preference string value
    • fixed conditional RSA and AES-CTR support
    • fixed a small memory leak during the key exchange process
    • fixed a possible memory leak of the ssh banner string
    • fixed various small memory leaks in the backends
    • fixed possible out of bounds read when parsing public keys from the server
    • fixed possible out of bounds read when parsing invalid PEM files
    • no longer null terminates the scp remote exec command
    • now handle errors when diffie hellman key pair generation fails
    • improved building instructions
    • improved unit tests
  • Version update to 1.8.2: [bsc#1130103] Bug fixes:

    • Fixed the misapplied userauth patch that broke 1.8.1
    • moved the MAX size declarations from the public header
Record
SUSE-SU-2020:3551-1
Updated
2026-11-02
OSVUSN-5308-1 No score

libssh2 vulnerabilities

It was discovered that libssh2 mishandled certain input. If libssh2 were used to connect to a malicious or compromised SSH server, a remote, unauthenticated attacker could possibly execute arbitrary code on the client system. (CVE-2019-3855)

It was discovered that libssh2 incorrectly handled prompt requests. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2019-3856)

It was discovered that libssh2 incorrectly handled SSH_MSG_CHANNEL_REQUEST packets. A remote attacker could possibly use this issue to execute arbitrary code, cause a denial of service, or obtain sensitive information. (CVE-2019-3857, CVE-2019-3862)

It was discovered that libssh2 incorrectly handled specially crafted SFTP packets. A remote attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2019-3858)

It was discovered that libssh2 incorrectly handled certain specially crafted packets. A remote attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2019-3859)

It was discovered that libssh2 incorrectly handled SFTP packets with empty payloads. A remote attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2019-3860)

It was discovered that libssh2 incorrectly handled padding values in SSH packets. A remote attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2019-3861)

It was discovered that libssh2 incorrectly handled interactive response messages length. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2019-3863)

It was discovered that libssh2 incorrectly handled the Diffie Hellman key exchange. A remote attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2019-13115)

It was discovered that libssh2 incorrectly handled bound checks in SSH_MSG_DISCONNECT. A remote attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (CVE-2019-17498)

Record
USN-5308-1
Updated
2026-11-02

Affected products

Show 1 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
libssh2
Alpine:v3.10
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.11
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.12
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.13
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.14
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.15
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.16
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.17
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.18
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.19
before 1.9.0-r1
1.9.0-r1
Show 105 moreShow less
Affected packages
PackageAffectedFixed
libssh2
Alpine:v3.20
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.21
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.22
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.23
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.24
before 1.9.0-r1
1.9.0-r1
libssh2
Alpine:v3.9
before 1.9.0-r1
1.9.0-r1
libssh2
Azure Linux:2
before 1.9.0-1
1.9.0-1
libssh2-1
TuxCare:Ubuntu:16.04
From an advisory covering 2 CVEs
before 1.5.0-2ubuntu0.1+tuxcare.els3
1.5.0-2ubuntu0.1+tuxcare.els3
libssh2-1-dev
TuxCare:Ubuntu:16.04
From an advisory covering 2 CVEs
before 1.5.0-2ubuntu0.1+tuxcare.els3
1.5.0-2ubuntu0.1+tuxcare.els3
libssh2
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 1.4.2-3.0.1.el6_10.1.tuxcare.els3
1.4.2-3.0.1.el6_10.1.tuxcare.els3
libssh2-devel
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 1.4.2-3.0.1.el6_10.1.tuxcare.els3
1.4.2-3.0.1.el6_10.1.tuxcare.els3
libssh2-docs
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 1.4.2-3.0.1.el6_10.1.tuxcare.els3
1.4.2-3.0.1.el6_10.1.tuxcare.els3
libssh2
Debian:12
before 1.9.0-1
1.9.0-1
libssh2
Debian:13
before 1.9.0-1
1.9.0-1
libssh2
Debian:14
before 1.9.0-1
1.9.0-1
libssh2
Debian:8
before 1.4.3-4.1+deb8u6, plus listed versions
1.4.3-4.11.4.3-4.1+deb8u11.4.3-4.1+deb8u21.4.3-4.1+deb8u31.4.3-4.1+deb8u41.4.3-4.1+deb8u5
1.4.3-4.1+deb8u6
libssh2
Debian:9
From an advisory covering 2 CVEs
before 1.7.0-1+deb9u2, plus listed versions
1.7.0-11.7.0-1+deb9u1
1.7.0-1+deb9u2
libssh2
Debian:10
From an advisory covering 3 CVEs
before 1.8.0-2.1+deb10u1, plus listed versions
1.8.0-2.1
1.8.0-2.1+deb10u1
LibSSH2_jll
Julia
before 1.10.1+0
1.10.1+0
libssh2
Mageia:7
before 1.8.2-1.1.mga7
1.8.2-1.1.mga7
libssh2
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-debuginfo
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-devel
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-docs
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-devel
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-docs
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-debuginfo
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-devel
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-docs
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-devel
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7
0:1.8.0-4.el7
libssh2-docs
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7
0:1.8.0-4.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 Micro 5.3
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Micro 5.4
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Micro 5.5
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Manager Proxy 4.2
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Manager Server 4.2
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Micro 5.1
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Micro 5.2
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Enterprise Storage 7.1
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
openSUSE:Leap Micro 5.3
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
openSUSE:Leap Micro 5.4
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
openSUSE:Leap 15.4
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
openSUSE:Leap 15.5
before 1.11.0-150000.4.19.1
1.11.0-150000.4.19.1
libssh2_org
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.4.3-17.12.1
1.4.3-17.12.1
libssh2_org
SUSE:Linux Enterprise Point of Sale 11 SP3
before 1.2.9-4.2.12.18.1
1.2.9-4.2.12.18.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15
before 1.8.0-4.10.1
1.8.0-4.10.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 1.8.0-4.10.1
1.8.0-4.10.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 1.8.0-4.10.1
1.8.0-4.10.1
libssh2_org
SUSE:Linux Enterprise Server 15-LTSS
before 1.8.0-4.10.1
1.8.0-4.10.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15
before 1.8.0-4.10.1
1.8.0-4.10.1
libssh2_org
SUSE:HPE Helion OpenStack 8
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:OpenStack Cloud 7
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:OpenStack Cloud 8
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:OpenStack Cloud Crowbar 8
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Desktop 12 SP4
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP2-BCL
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP3-BCL
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP4
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP5
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Enterprise Storage 5
before 1.4.3-20.14.1
1.4.3-20.14.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP1
From an advisory covering 10 CVEs
before 1.9.0-4.13.1
1.9.0-4.13.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 10 CVEs
before 1.9.0-4.13.1
1.9.0-4.13.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 10 CVEs
before 1.9.0-4.13.1
1.9.0-4.13.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 10 CVEs
before 1.9.0-4.13.1
1.9.0-4.13.1
libssh2_org
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 10 CVEs
before 1.9.0-4.13.1
1.9.0-4.13.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 10 CVEs
before 1.9.0-4.13.1
1.9.0-4.13.1
libssh2
Ubuntu:Pro:14.04:LTS
before 1.4.3-2ubuntu0.2+esm2, plus listed versions
1.4.3-11.4.3-21.4.3-2ubuntu0.11.4.3-2ubuntu0.21.4.3-2ubuntu0.2+esm1
1.4.3-2ubuntu0.2+esm2
libssh2
Ubuntu:Pro:16.04:LTS
before 1.5.0-2ubuntu0.1+esm1, plus listed versions
1.5.0-21.5.0-2ubuntu0.1
1.5.0-2ubuntu0.1+esm1
libssh2
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.8.0-11.8.0-1ubuntu0.11.8.0-1ubuntu0.1+esm1
None known
libssh2
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.8.0-2.1build11.8.0-2.1ubuntu0.11.8.0-2.1ubuntu0.1+esm1
None known
libssh2
Ubuntu:Pro:16.04:LTS
From an advisory covering 11 CVEs
before 1.5.0-2ubuntu0.1+esm1, plus listed versions
1.5.0-21.5.0-2ubuntu0.1
1.5.0-2ubuntu0.1+esm1
libssh2_org
openSUSE:Leap 15.1
before 1.8.0-lp151.6.3.1
1.8.0-lp151.6.3.1
libssh2_org
openSUSE:Leap 15.1
From an advisory covering 10 CVEs
before 1.9.0-lp151.6.6.1
1.9.0-lp151.6.6.1
libssh2_org
openSUSE:Leap 15.2
From an advisory covering 10 CVEs
before 1.9.0-lp152.8.3.1
1.9.0-lp152.8.3.1
libssh2_org
openSUSE:Tumbleweed
From an advisory covering 10 CVEs
before 1.9.0-3.6
1.9.0-3.6

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubTimon-L/3007Project2022-10-09

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

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

In short

CVE-2019-17498 is a high vulnerability (CVSS 8.1) in Libssh2, published October 21, 2019. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.81%, the 90th percentile. Fixed in libssh2 1.9.0-r1.

References

Show 65 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open