{"id":"UBUNTU-CVE-2019-13115","details":"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.","modified":"2026-04-22T13:31:21.353191Z","published":"2019-07-16T18:15:00Z","related":["USN-5308-1"],"upstream":["CVE-2019-13115"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-13115"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5308-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-13115"}],"affected":[{"package":{"name":"libssh2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libssh2@1.4.3-2ubuntu0.2+esm2?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3-2ubuntu0.2+esm2"}]}],"versions":["1.4.3-1","1.4.3-2","1.4.3-2ubuntu0.1","1.4.3-2ubuntu0.2","1.4.3-2ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh2-1","binary_version":"1.4.3-2ubuntu0.2+esm2"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13115.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libssh2@1.5.0-2ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2ubuntu0.1+esm1"}]}],"versions":["1.5.0-2","1.5.0-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh2-1","binary_version":"1.5.0-2ubuntu0.1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13115.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libssh2@1.8.0-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-1","1.8.0-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh2-1","binary_version":"1.8.0-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13115.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libssh2@1.8.0-2.1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-2.1build1","1.8.0-2.1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh2-1","binary_version":"1.8.0-2.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13115.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}