{"id":"USN-9187-1","summary":"libssh vulnerabilities","details":"Haruto Kimura, Rinku Das, and Yi Lin discovered that libssh did not\ncorrectly handle SSH channel open messages advertising a zero maximum\npacket size. An authenticated user could possibly use this issue to cause\nlibssh to use excessive resources, leading to a denial of service. This\nissue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and\nUbuntu 20.04 LTS. (CVE-2026-59843)\n\nMikhail Ilin and Saransh Rana discovered that libssh did not correctly\nsanitize shell metacharacters when expanding usernames in ProxyCommand\nstrings. An attacker could possibly use this issue to obtain sensitive\ninformation. (CVE-2026-59846)\n\nBen Smyth discovered that libssh incorrectly verified AES-GCM\nauthentication tags when built with the OpenSSL backend. A remote attacker\nin a machine-in-the-middle position could possibly use this issue to modify\nencrypted traffic without detection. This issue only affected Ubuntu 20.04\nLTS. (CVE-2026-59847)\n\nIt was discovered that libssh did not correctly handle SFTP server\nresponses for unknown request IDs. A remote attacker controlling a\nmalicious SFTP server could possibly use this issue to cause libssh to use\nexcessive resources, leading to a denial of service. (CVE-2026-59848)\n\nZhou Qingyang discovered that libssh could invoke data callbacks on\nchannels after they had been closed, leading to a use-after-free. A remote\nattacker could possibly use this issue to cause libssh to crash, resulting\nin a denial of service, or possibly execute arbitrary code. This issue only\naffected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.\n(CVE-2026-59850)","modified":"2026-11-24T15:01:44.950462539Z","published":"2026-11-23T17:32:05Z","related":["UBUNTU-CVE-2026-59843","UBUNTU-CVE-2026-59846","UBUNTU-CVE-2026-59847","UBUNTU-CVE-2026-59848","UBUNTU-CVE-2026-59850"],"upstream":["CVE-2026-59843","CVE-2026-59846","CVE-2026-59847","CVE-2026-59848","CVE-2026-59850","UBUNTU-CVE-2026-59843","UBUNTU-CVE-2026-59846","UBUNTU-CVE-2026-59847","UBUNTU-CVE-2026-59848","UBUNTU-CVE-2026-59850"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9187-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59843"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59846"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59847"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59848"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59850"}],"affected":[{"package":{"name":"libssh","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-4.3ubuntu0.6+esm6"}]}],"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","0.6.3-4.3ubuntu0.6+esm4","0.6.3-4.3ubuntu0.6+esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.3-4.3ubuntu0.6+esm6","binary_name":"libssh-4"},{"binary_version":"0.6.3-4.3ubuntu0.6+esm6","binary_name":"libssh-gcrypt-4"}],"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:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-59843"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-59846"},{"id":"CVE-2026-59848","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-59850"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.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+esm8"}]}],"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","0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6","0.8.0~20170825.94fa1e38-1ubuntu0.7+esm7"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8"},{"binary_name":"libssh-gcrypt-4","binary_version":"0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-59843"},{"id":"CVE-2026-59846","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-59848","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2026-59850","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"}},{"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+esm5"}]}],"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","0.9.3-2ubuntu2.5+esm3","0.9.3-2ubuntu2.5+esm4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.9.3-2ubuntu2.5+esm5","binary_name":"libssh-4"},{"binary_version":"0.9.3-2ubuntu2.5+esm5","binary_name":"libssh-gcrypt-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-59843"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-59846"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-59847"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-59848"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-59850"}]}}},{"package":{"name":"libssh","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-2ubuntu0.22.04.9"}]}],"versions":["0.9.6-1","0.9.6-1build1","0.9.6-2","0.9.6-2build1","0.9.6-2ubuntu0.22.04.1","0.9.6-2ubuntu0.22.04.2","0.9.6-2ubuntu0.22.04.3","0.9.6-2ubuntu0.22.04.4","0.9.6-2ubuntu0.22.04.5","0.9.6-2ubuntu0.22.04.6","0.9.6-2ubuntu0.22.04.7","0.9.6-2ubuntu0.22.04.8"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssh-4","binary_version":"0.9.6-2ubuntu0.22.04.9"},{"binary_version":"0.9.6-2ubuntu0.22.04.9","binary_name":"libssh-gcrypt-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[]}}},{"package":{"name":"libssh","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.6-2ubuntu0.6"}]}],"versions":["0.10.5-3ubuntu1","0.10.5-3ubuntu2","0.10.6-2","0.10.6-2build1","0.10.6-2build2","0.10.6-2ubuntu0.1","0.10.6-2ubuntu0.2","0.10.6-2ubuntu0.3","0.10.6-2ubuntu0.4","0.10.6-2ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.10.6-2ubuntu0.6"},{"binary_version":"0.10.6-2ubuntu0.6","binary_name":"libssh-gcrypt-4"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:24.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"}}],"schema_version":"1.9.2"}