Skip to content
OpenAdvisories
High USN-9248-1 13 CVEs

libssh2 vulnerabilities

Published Nov 30, 2026 · Updated Dec 2, 2026

Summary

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. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-3855)

It was discovered that libssh2 incorrectly handled prompt requests. A
remote attacker could possibly use this issue to execute arbitrary code.
This issue only affected Ubuntu 18.04 LTS. (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.
These issues only affected Ubuntu 18.04 LTS. (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. This issue only affected Ubuntu
18.04 LTS. (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. This issue only affected
Ubuntu 18.04 LTS. (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. This issue only affected Ubuntu
18.04 LTS. (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. This issue only affected Ubuntu
18.04 LTS. (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. This issue only affected Ubuntu 18.04 LTS. (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. This issue only affected Ubuntu
18.04 LTS and Ubuntu 20.04 LTS. (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. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2019-17498)

It was discovered that libssh2 incorrectly handled the sftp_symlink()
function. A malicious SSH server or machine-in-the-middle attacker could
possibly use this issue to obtain sensitive information or cause a denial
of service. (CVE-2025-15661)

It was discovered that libssh2 incorrectly handled username and password
length values during SSH password authentication. A remote attacker could
possibly use this issue to cause a denial of service. (CVE-2026-7598)

Fixed packages 5

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS libssh2 1.10.0-3+deb12u1build0.22.04.1
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS libssh2 1.4.3-2ubuntu0.2+esm5
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS libssh2 1.5.0-2ubuntu0.1+esm4
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libssh2 1.8.0-1ubuntu0.1+esm2
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS libssh2 1.8.0-2.1ubuntu0.1+esm2

Vulnerabilities 13

References

  • report
    https://ubuntu.com/security/CVE-2019-3855
  • report
    https://ubuntu.com/security/CVE-2019-3856
  • report
    https://ubuntu.com/security/CVE-2019-3857
  • report
    https://ubuntu.com/security/CVE-2019-3858
  • report
    https://ubuntu.com/security/CVE-2019-3859
  • report
    https://ubuntu.com/security/CVE-2019-3860
  • report
    https://ubuntu.com/security/CVE-2019-3861
  • report
    https://ubuntu.com/security/CVE-2019-3862
  • report
    https://ubuntu.com/security/CVE-2019-3863
  • report
    https://ubuntu.com/security/CVE-2019-13115
  • report
    https://ubuntu.com/security/CVE-2019-17498
  • report
    https://ubuntu.com/security/CVE-2025-15661
  • report
    https://ubuntu.com/security/CVE-2026-7598