{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-13115.json"
      }
    ],
    "title": "libssh2: integer overflow in kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c leads to out-of-bounds write",
    "tracking": {
      "current_release_date": "2026-11-23T16:48:17+00:00",
      "generator": {
        "date": "2026-11-23T16:48:17+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.8"
        }
      },
      "id": "CVE-2019-13115",
      "initial_release_date": "2019-07-16T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2019-07-16T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-02-02T07:28:08.904337+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-23T16:48:17+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8",
                "product": {
                  "name": "Red Hat Enterprise Linux 8",
                  "product_id": "red_hat_enterprise_linux_8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8 Advanced Virtualization",
                "product": {
                  "name": "Red Hat Enterprise Linux 8 Advanced Virtualization",
                  "product_id": "red_hat_enterprise_linux_8_advanced_virtualization",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:advanced_virtualization:8::el8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8 Advanced Virtualization"
          },
          {
            "category": "product_version",
            "name": "libssh2",
            "product": {
              "name": "libssh2",
              "product_id": "libssh2",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2.src",
            "product": {
              "name": "libssh2.src",
              "product_id": "libssh2.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2-devel",
            "product": {
              "name": "libssh2-devel",
              "product_id": "libssh2-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2-docs",
            "product": {
              "name": "libssh2-docs",
              "product_id": "libssh2-docs",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2-docs"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2::virt:rhel",
            "product": {
              "name": "libssh2 (virt:rhel)",
              "product_id": "libssh2::virt:rhel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2?rpmmod=virt:rhel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2.src::virt:rhel",
            "product": {
              "name": "libssh2.src (virt:rhel)",
              "product_id": "libssh2.src::virt:rhel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2?arch=src&rpmmod=virt:rhel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2-devel::virt:rhel",
            "product": {
              "name": "libssh2-devel (virt:rhel)",
              "product_id": "libssh2-devel::virt:rhel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2-devel?rpmmod=virt:rhel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2-docs::virt:rhel",
            "product": {
              "name": "libssh2-docs (virt:rhel)",
              "product_id": "libssh2-docs::virt:rhel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2-docs?rpmmod=virt:rhel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2::virt:8.0.0",
            "product": {
              "name": "libssh2 (virt:8.0.0)",
              "product_id": "libssh2::virt:8.0.0",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2?rpmmod=virt:8.0.0"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2.src::virt:8.0.0",
            "product": {
              "name": "libssh2.src (virt:8.0.0)",
              "product_id": "libssh2.src::virt:8.0.0",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2?arch=src&rpmmod=virt:8.0.0"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2-devel::virt:8.0.0",
            "product": {
              "name": "libssh2-devel (virt:8.0.0)",
              "product_id": "libssh2-devel::virt:8.0.0",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2-devel?rpmmod=virt:8.0.0"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libssh2-docs::virt:8.0.0",
            "product": {
              "name": "libssh2-docs (virt:8.0.0)",
              "product_id": "libssh2-docs::virt:8.0.0",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libssh2-docs?rpmmod=virt:8.0.0"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2 as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:libssh2"
        },
        "product_reference": "libssh2",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:libssh2-devel"
        },
        "product_reference": "libssh2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-docs as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:libssh2-docs"
        },
        "product_reference": "libssh2-docs",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:libssh2.src"
        },
        "product_reference": "libssh2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2 as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libssh2"
        },
        "product_reference": "libssh2",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-devel as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libssh2-devel"
        },
        "product_reference": "libssh2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-docs as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libssh2-docs"
        },
        "product_reference": "libssh2-docs",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libssh2.src"
        },
        "product_reference": "libssh2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-devel (virt:rhel) as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libssh2-devel::virt:rhel"
        },
        "product_reference": "libssh2-devel::virt:rhel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-docs (virt:rhel) as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libssh2-docs::virt:rhel"
        },
        "product_reference": "libssh2-docs::virt:rhel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2.src (virt:rhel) as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libssh2.src::virt:rhel"
        },
        "product_reference": "libssh2.src::virt:rhel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2 (virt:rhel) as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libssh2::virt:rhel"
        },
        "product_reference": "libssh2::virt:rhel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-devel (virt:8.0.0) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization",
          "product_id": "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-devel::virt:8.0.0"
        },
        "product_reference": "libssh2-devel::virt:8.0.0",
        "relates_to_product_reference": "red_hat_enterprise_linux_8_advanced_virtualization"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2-docs (virt:8.0.0) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization",
          "product_id": "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-docs::virt:8.0.0"
        },
        "product_reference": "libssh2-docs::virt:8.0.0",
        "relates_to_product_reference": "red_hat_enterprise_linux_8_advanced_virtualization"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2.src (virt:8.0.0) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization",
          "product_id": "red_hat_enterprise_linux_8_advanced_virtualization:libssh2.src::virt:8.0.0"
        },
        "product_reference": "libssh2.src::virt:8.0.0",
        "relates_to_product_reference": "red_hat_enterprise_linux_8_advanced_virtualization"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh2 (virt:8.0.0) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization",
          "product_id": "red_hat_enterprise_linux_8_advanced_virtualization:libssh2::virt:8.0.0"
        },
        "product_reference": "libssh2::virt:8.0.0",
        "relates_to_product_reference": "red_hat_enterprise_linux_8_advanced_virtualization"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2019-13115",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "discovery_date": "2019-07-17T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_8:libssh2-devel::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2-docs::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2.src::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2::virt:rhel"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1731324"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libssh2: integer overflow in kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c leads to out-of-bounds write",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_enterprise_linux_6:libssh2",
          "red_hat_enterprise_linux_6:libssh2-devel",
          "red_hat_enterprise_linux_6:libssh2-docs",
          "red_hat_enterprise_linux_6:libssh2.src",
          "red_hat_enterprise_linux_7:libssh2",
          "red_hat_enterprise_linux_7:libssh2-devel",
          "red_hat_enterprise_linux_7:libssh2-docs",
          "red_hat_enterprise_linux_7:libssh2.src",
          "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-devel::virt:8.0.0",
          "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-docs::virt:8.0.0",
          "red_hat_enterprise_linux_8_advanced_virtualization:libssh2.src::virt:8.0.0",
          "red_hat_enterprise_linux_8_advanced_virtualization:libssh2::virt:8.0.0"
        ],
        "known_not_affected": [
          "red_hat_enterprise_linux_8:libssh2-devel::virt:rhel",
          "red_hat_enterprise_linux_8:libssh2-docs::virt:rhel",
          "red_hat_enterprise_linux_8:libssh2.src::virt:rhel",
          "red_hat_enterprise_linux_8:libssh2::virt:rhel"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2019-13115"
        },
        {
          "category": "external",
          "summary": "RHBZ#1731324",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1731324"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2019-13115",
          "url": "https://www.cve.org/CVERecord?id=CVE-2019-13115"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2019-13115",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13115"
        },
        {
          "category": "external",
          "summary": "https://blog.semmle.com/libssh2-integer-overflow/",
          "url": "https://blog.semmle.com/libssh2-integer-overflow/"
        }
      ],
      "release_date": "2019-07-16T00:00:00+00:00",
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "red_hat_enterprise_linux_6:libssh2",
            "red_hat_enterprise_linux_6:libssh2-devel",
            "red_hat_enterprise_linux_6:libssh2-docs",
            "red_hat_enterprise_linux_6:libssh2.src"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "red_hat_enterprise_linux_7:libssh2",
            "red_hat_enterprise_linux_7:libssh2-devel",
            "red_hat_enterprise_linux_7:libssh2-docs",
            "red_hat_enterprise_linux_7:libssh2.src",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-devel::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-docs::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2.src::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2::virt:8.0.0"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_6:libssh2",
            "red_hat_enterprise_linux_6:libssh2-devel",
            "red_hat_enterprise_linux_6:libssh2-docs",
            "red_hat_enterprise_linux_6:libssh2.src",
            "red_hat_enterprise_linux_7:libssh2",
            "red_hat_enterprise_linux_7:libssh2-devel",
            "red_hat_enterprise_linux_7:libssh2-docs",
            "red_hat_enterprise_linux_7:libssh2.src",
            "red_hat_enterprise_linux_8:libssh2-devel::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2-docs::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2.src::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2::virt:rhel",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-devel::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-docs::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2.src::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2::virt:8.0.0"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_enterprise_linux_6:libssh2",
            "red_hat_enterprise_linux_6:libssh2-devel",
            "red_hat_enterprise_linux_6:libssh2-docs",
            "red_hat_enterprise_linux_6:libssh2.src",
            "red_hat_enterprise_linux_7:libssh2",
            "red_hat_enterprise_linux_7:libssh2-devel",
            "red_hat_enterprise_linux_7:libssh2-docs",
            "red_hat_enterprise_linux_7:libssh2.src",
            "red_hat_enterprise_linux_8:libssh2-devel::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2-docs::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2.src::virt:rhel",
            "red_hat_enterprise_linux_8:libssh2::virt:rhel",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-devel::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2-docs::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2.src::virt:8.0.0",
            "red_hat_enterprise_linux_8_advanced_virtualization:libssh2::virt:8.0.0"
          ]
        }
      ],
      "title": "libssh2: integer overflow in kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c leads to out-of-bounds write"
    }
  ]
}