{"id":"SUSE-SU-2025:02229-1","summary":"Security update for libssh","details":"This update for libssh fixes the following issues:\n\n- CVE-2025-5318: Fixed likely read beyond bounds in sftp server handle management (bsc#1245311).\n- CVE-2025-4877: Fixed write beyond bounds in binary to base64 conversion functions (bsc#1245309).\n- CVE-2025-4878: Fixed use of uninitialized variable in privatekey_from_file() (bsc#1245310).\n- CVE-2025-5372: Fixed cases where ssh_kdf() returns a success code on certain failures (bsc#1245314).\n","modified":"2026-03-11T07:28:56.718851Z","published":"2025-07-04T16:02:31Z","related":["CVE-2025-4877","CVE-2025-4878","CVE-2025-5318","CVE-2025-5372"],"upstream":["CVE-2025-4877","CVE-2025-4878","CVE-2025-5318","CVE-2025-5372"],"references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2025/suse-su-202502229-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1245309"},{"type":"REPORT","url":"https://bugzilla.suse.com/1245310"},{"type":"REPORT","url":"https://bugzilla.suse.com/1245311"},{"type":"REPORT","url":"https://bugzilla.suse.com/1245314"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-4877"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-4878"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-5318"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-5372"}],"affected":[{"package":{"name":"libssh","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","purl":"pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.8-150600.11.3.1"}]}],"ecosystem_specific":{"binaries":[{"libssh4":"0.9.8-150600.11.3.1","libssh-config":"0.9.8-150600.11.3.1","libssh-devel":"0.9.8-150600.11.3.1","libssh4-32bit":"0.9.8-150600.11.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2025:02229-1.json"}},{"package":{"name":"libssh","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","purl":"pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.8-150600.11.3.1"}]}],"ecosystem_specific":{"binaries":[{"libssh-devel":"0.9.8-150600.11.3.1","libssh4-32bit":"0.9.8-150600.11.3.1","libssh4":"0.9.8-150600.11.3.1","libssh-config":"0.9.8-150600.11.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2025:02229-1.json"}},{"package":{"name":"libssh","ecosystem":"openSUSE:Leap 15.6","purl":"pkg:rpm/opensuse/libssh&distro=openSUSE%20Leap%2015.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.8-150600.11.3.1"}]}],"ecosystem_specific":{"binaries":[{"libssh-config":"0.9.8-150600.11.3.1","libssh-devel":"0.9.8-150600.11.3.1","libssh4-32bit":"0.9.8-150600.11.3.1","libssh4":"0.9.8-150600.11.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2025:02229-1.json"}}],"schema_version":"1.7.5"}