Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-13115

In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds read in the way packets are read from the server. A remote attacker who compromises a 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. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-13115
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:52 UTC · Revision 1

Source evidence

CVE-2019-13115

core-osv · Original source

Published 16 Jul 2019, 18:15 UTC

In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds read in the way packets are read from the server. A remote attacker who compromises a 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. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.

osv:CVE-2019-13115
Complete source record
{
  "id": "82db4a306291f89bb6ce25227b7cb8ae7b6bf783ca5b991f0d25ffe788c41899",
  "url": "https://osv.dev/vulnerability/CVE-2019-13115",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-13115",
    "summary": "In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds read in the way packets are read from the server. A remote attacker who compromises a 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. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.",
    "evidence": "osv:CVE-2019-13115",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-13115",
      "aliases": [
        "CVE-2019-13115"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libssh2/libssh2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "42d37aa63129a1b2644bf6495198923534322d64"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.9.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "libssh2-1.8.0",
            "libssh2-1.7.0",
            "libssh2-1.6.0",
            "libssh2-1.5.0",
            "libssh2-1.4.3",
            "libssh2-1.4.2",
            "libssh2-1.4.1",
            "libssh2-1.4.0",
            "libssh2-1.3.0",
            "libssh2-1.2.9",
            "libssh2-1.2.8",
            "libssh2-1.2.7",
            "libssh2-1.2.6",
            "libssh2-1.2.5",
            "libssh2-1.2.4",
            "libssh2-1.2.3",
            "libssh2-1.2.1",
            "libssh2-1.2",
            "RELEASE.1.1",
            "RELEASE.1.0",
            "RELEASE.0.18",
            "RELEASE.0.17",
            "RELEASE.0.16",
            "RELEASE.0.15",
            "beforenb2-0.14",
            "beforenb-0.14",
            "RELEASE.0.14",
            "RELEASE.0.13",
            "RELEASE.0.12",
            "RELEASE.0.11",
            "RELEASE.0.10",
            "RELEASE.0.8",
            "RELEASE.0.7",
            "RELEASE.0.6",
            "RELEASE.0.5",
            "RELEASE.0.3",
            "RELEASE.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13115.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:14.921739044Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E",
        "https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E",
        "https://lists.debian.org/debian-lts-announce/2023/09/msg00006.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6LUNHPW64IGCASZ4JQ2J5KDXNZN53DWW/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M7IF3LNHOA75O4WZWIHJLIRMA5LJUED3/",
        "https://support.f5.com/csp/article/K13322484?utm_source=f5support&amp%3Butm_medium=RSS",
        "https://github.com/libssh2/libssh2/compare/02ecf17...42d37aa",
        "https://libssh2.org/changes.html",
        "https://lists.debian.org/debian-lts-announce/2019/07/msg00024.html",
        "https://lists.debian.org/debian-lts-announce/2021/12/msg00013.html",
        "https://security.netapp.com/advisory/ntap-20190806-0002/",
        "https://support.f5.com/csp/article/K13322484",
        "https://github.com/libssh2/libssh2/pull/350",
        "https://blog.semmle.com/libssh2-integer-overflow/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:f5:traffix_systems_signaling_delivery_controller:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "f5:traffix_systems_signaling_delivery_controller",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "last_affected": "5.1.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "netapp:e-series_santricity_os_controller",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.0.0"
                  },
                  {
                    "last_affected": "11.70.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "29"
                  },
                  {
                    "last_affected": "29"
                  },
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-13115",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380186,
  "published_at": "2019-07-16T18:15:13.287+00:00"
}