{"id":"USN-9248-1","summary":"libssh2 vulnerabilities","details":"It was discovered that libssh2 mishandled certain input. If libssh2 were\nused to connect to a malicious or compromised SSH server, a remote,\nunauthenticated attacker could possibly execute arbitrary code on the\nclient system. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-3855)\n\nIt was discovered that libssh2 incorrectly handled prompt requests. A\nremote attacker could possibly use this issue to execute arbitrary code.\nThis issue only affected Ubuntu 18.04 LTS. (CVE-2019-3856)\n\nIt was discovered that libssh2 incorrectly handled SSH_MSG_CHANNEL_REQUEST\npackets. A remote attacker could possibly use this issue to execute\narbitrary code, cause a denial of service, or obtain sensitive information.\nThese issues only affected Ubuntu 18.04 LTS. (CVE-2019-3857, CVE-2019-3862)\n\nIt was discovered that libssh2 incorrectly handled specially crafted SFTP\npackets. A remote attacker could possibly use this issue to cause a denial\nof service or obtain sensitive information. This issue only affected Ubuntu\n18.04 LTS. (CVE-2019-3858)\n\nIt was discovered that libssh2 incorrectly handled certain specially\ncrafted packets. A remote attacker could possibly use this issue to cause a\ndenial of service or obtain sensitive information. This issue only affected\nUbuntu 18.04 LTS. (CVE-2019-3859)\n\nIt was discovered that libssh2 incorrectly handled SFTP packets with empty\npayloads. A remote attacker could possibly use this issue to cause a denial\nof service or obtain sensitive information. This issue only affected Ubuntu\n18.04 LTS. (CVE-2019-3860)\n\nIt was discovered that libssh2 incorrectly handled padding values in SSH\npackets. A remote attacker could possibly use this issue to cause a denial\nof service or obtain sensitive information. This issue only affected Ubuntu\n18.04 LTS. (CVE-2019-3861)\n\nIt was discovered that libssh2 incorrectly handled interactive response\nmessages length. A remote attacker could possibly use this issue to execute\narbitrary code. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-3863)\n\nIt was discovered that libssh2 incorrectly handled the Diffie Hellman key\nexchange. A remote attacker could possibly use this issue to cause a denial\nof service or obtain sensitive information. This issue only affected Ubuntu\n18.04 LTS and Ubuntu 20.04 LTS. (CVE-2019-13115)\n\nIt was discovered that libssh2 incorrectly handled bound checks in\nSSH_MSG_DISCONNECT. A remote attacker could possibly use this issue to\ncause a denial of service or obtain sensitive information. This issue only\naffected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2019-17498)\n\nIt was discovered that libssh2 incorrectly handled the sftp_symlink()\nfunction. A malicious SSH server or machine-in-the-middle attacker could\npossibly use this issue to obtain sensitive information or cause a denial\nof service. (CVE-2025-15661)\n\nIt was discovered that libssh2 incorrectly handled username and password\nlength values during SSH password authentication. A remote attacker could\npossibly use this issue to cause a denial of service. (CVE-2026-7598)","modified":"2026-12-02T02:28:52.093393339Z","published":"2026-11-30T21:05:59Z","related":["UBUNTU-CVE-2019-13115","UBUNTU-CVE-2019-17498","UBUNTU-CVE-2019-3855","UBUNTU-CVE-2019-3856","UBUNTU-CVE-2019-3857","UBUNTU-CVE-2019-3858","UBUNTU-CVE-2019-3859","UBUNTU-CVE-2019-3860","UBUNTU-CVE-2019-3861","UBUNTU-CVE-2019-3862","UBUNTU-CVE-2019-3863","UBUNTU-CVE-2025-15661","UBUNTU-CVE-2026-7598"],"upstream":["CVE-2019-13115","CVE-2019-17498","CVE-2019-3855","CVE-2019-3856","CVE-2019-3857","CVE-2019-3858","CVE-2019-3859","CVE-2019-3860","CVE-2019-3861","CVE-2019-3862","CVE-2019-3863","CVE-2025-15661","CVE-2026-7598","UBUNTU-CVE-2019-13115","UBUNTU-CVE-2019-17498","UBUNTU-CVE-2019-3855","UBUNTU-CVE-2019-3856","UBUNTU-CVE-2019-3857","UBUNTU-CVE-2019-3858","UBUNTU-CVE-2019-3859","UBUNTU-CVE-2019-3860","UBUNTU-CVE-2019-3861","UBUNTU-CVE-2019-3862","UBUNTU-CVE-2019-3863","UBUNTU-CVE-2025-15661","UBUNTU-CVE-2026-7598"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9248-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3855"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3856"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3857"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3858"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3859"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3860"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3861"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3862"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3863"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-13115"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-17498"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-15661"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-7598"}],"affected":[{"package":{"name":"libssh2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libssh2?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3-2ubuntu0.2+esm5"}]}],"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","1.4.3-2ubuntu0.2+esm2","1.4.3-2ubuntu0.2+esm3","1.4.3-2ubuntu0.2+esm4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.3-2ubuntu0.2+esm5","binary_name":"libssh2-1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2025-15661","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD"},{"score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-7598","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA","type":"CVSS_V3"},{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9248-1.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2ubuntu0.1+esm4"}]}],"versions":["1.5.0-2","1.5.0-2ubuntu0.1","1.5.0-2ubuntu0.1+esm1","1.5.0-2ubuntu0.1+esm2","1.5.0-2ubuntu0.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.0-2ubuntu0.1+esm4","binary_name":"libssh2-1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2025-15661"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA"},{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-7598"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9248-1.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0-1ubuntu0.1+esm2"}]}],"versions":["1.8.0-1","1.8.0-1ubuntu0.1","1.8.0-1ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libssh2-1","binary_version":"1.8.0-1ubuntu0.1+esm2"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2019-3855","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2019-3856","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2019-3857","severity":[{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"CNA","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2019-3858"},{"id":"CVE-2019-3859","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"NVD"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2019-3860","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2019-3861"},{"id":"CVE-2019-3862","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA","type":"CVSS_V3"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2019-3863"},{"id":"CVE-2019-13115","severity":[{"source":"NVD","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","source":"SELF"}]},{"id":"CVE-2019-17498","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2025-15661","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA"},{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-7598"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9248-1.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0-2.1ubuntu0.1+esm2"}]}],"versions":["1.8.0-2.1build1","1.8.0-2.1ubuntu0.1","1.8.0-2.1ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libssh2-1","binary_version":"1.8.0-2.1ubuntu0.1+esm2"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2019-13115","severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2019-17498","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2025-15661","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA"},{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-7598"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9248-1.json"}},{"package":{"name":"libssh2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libssh2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-3+deb12u1build0.22.04.1"}]}],"versions":["1.9.0-3","1.10.0-2","1.10.0-2build1","1.10.0-3","1.10.0-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh2-1","binary_version":"1.10.0-3+deb12u1build0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD"},{"score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2025-15661"},{"id":"CVE-2026-7598","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"CNA"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9248-1.json"}}],"schema_version":"1.9.2"}