{"id":"USN-8051-2","summary":"libssh vulnerabilities","details":"USN-8051-1 fixed vulnerabilities in libssh. This update provides the\ncorresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu\n20.04 LTS.\n\nOriginal advisory details:\n\n It was discovered that libssh clients incorrectly handled the key exchange\n process. A remote attacker could possibly use this issue to cause libssh\n clients to crash, resulting in a denial of service. (CVE-2025-8277)\n\n It was discovered that the libssh SCP client incorrectly sanitized paths\n received from servers. A remote attacker could use this issue to cause\n libssh SCP clients to overwrite files outside of the working directory and\n possibly execute arbitrary code. (CVE-2026-0964)\n\n It was discovered that libssh incorrectly handled parsing configuration\n files. A local attacker could possibly use this issue to cause libssh to\n access non-regular files, resulting in a denial of service. (CVE-2026-0965)\n\n It was discovered that libssh incorrectly handled the ssh_get_hexa()\n function. A remote attacker could possibly use this issue to cause libssh\n to crash, resulting in a denial of service. (CVE-2026-0966)\n\n It was discovered that libssh incorrectly handled certain regular\n expressions. A local attacker could possibly use this issue to cause\n libssh to consume resources, resulting in a denial of service.\n (CVE-2026-0967)\n\n It was discovered that the libssh SFTP client incorrectly handled certain\n malformed longname fields. A remote attacker could use this issue to cause\n libssh SFTP clients to crash, resulting in a denial of service, or\n possibly execute arbitrary code. (CVE-2026-0968)","modified":"2026-06-25T13:32:31.745355110Z","published":"2026-02-23T19:56:30Z","related":["UBUNTU-CVE-2025-8277","UBUNTU-CVE-2026-0964","UBUNTU-CVE-2026-0965","UBUNTU-CVE-2026-0966","UBUNTU-CVE-2026-0967","UBUNTU-CVE-2026-0968"],"upstream":["UBUNTU-CVE-2025-8277","UBUNTU-CVE-2026-0964","UBUNTU-CVE-2026-0965","UBUNTU-CVE-2026-0966","UBUNTU-CVE-2026-0967","UBUNTU-CVE-2026-0968"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8051-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-8277"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0964"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0965"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0966"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0967"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0968"}],"affected":[{"package":{"name":"libssh","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-4.3ubuntu0.6+esm4"}]}],"versions":["0.6.3-3ubuntu3","0.6.3-4.1","0.6.3-4.2","0.6.3-4.2ubuntu1","0.6.3-4.3","0.6.3-4.3ubuntu0.1","0.6.3-4.3ubuntu0.2","0.6.3-4.3ubuntu0.5","0.6.3-4.3ubuntu0.6","0.6.3-4.3ubuntu0.6+esm1","0.6.3-4.3ubuntu0.6+esm2","0.6.3-4.3ubuntu0.6+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.6.3-4.3ubuntu0.6+esm4"},{"binary_version":"0.6.3-4.3ubuntu0.6+esm4","binary_name":"libssh-gcrypt-4"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-0964","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-0965","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2026-0966"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-0967"},{"id":"CVE-2026-0968","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8051-2.json"}},{"package":{"name":"libssh","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6"}]}],"versions":["0.7.5-1","0.8.0~20170825.94fa1e38-1","0.8.0~20170825.94fa1e38-1build1","0.8.0~20170825.94fa1e38-1ubuntu0.1","0.8.0~20170825.94fa1e38-1ubuntu0.2","0.8.0~20170825.94fa1e38-1ubuntu0.5","0.8.0~20170825.94fa1e38-1ubuntu0.6","0.8.0~20170825.94fa1e38-1ubuntu0.7","0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3","0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4","0.8.0~20170825.94fa1e38-1ubuntu0.7+esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6"},{"binary_version":"0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6","binary_name":"libssh-gcrypt-4"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8051-2.json","cves_map":{"cves":[{"id":"CVE-2025-8277","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"score":"low","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-0964"},{"id":"CVE-2026-0965","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2026-0966"},{"id":"CVE-2026-0967","severity":[{"score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-0968","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"libssh","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3-2ubuntu2.5+esm3"}]}],"versions":["0.9.0-1ubuntu1","0.9.0-1ubuntu4","0.9.0-1ubuntu5","0.9.3-2ubuntu1","0.9.3-2ubuntu2","0.9.3-2ubuntu2.1","0.9.3-2ubuntu2.2","0.9.3-2ubuntu2.3","0.9.3-2ubuntu2.4","0.9.3-2ubuntu2.5","0.9.3-2ubuntu2.5+esm1","0.9.3-2ubuntu2.5+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.9.3-2ubuntu2.5+esm3"},{"binary_version":"0.9.3-2ubuntu2.5+esm3","binary_name":"libssh-gcrypt-4"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2025-8277","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2026-0964","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-0965","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2026-0966"},{"id":"CVE-2026-0967","severity":[{"score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-0968","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8051-2.json"}}],"schema_version":"1.7.5"}