{"id":"AZL-64650","summary":"CVE-2025-5372 affecting package libssh for versions less than 0.10.6-2","details":"A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.","modified":"2026-04-21T04:32:29.718086Z","published":"2025-07-04T06:15:24Z","upstream":["CVE-2025-5372"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5372"}],"affected":[{"package":{"name":"libssh","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/libssh"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.6-2"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-64650.json"}}],"schema_version":"1.7.5"}