Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-64650.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-64650
Upstream
Published
2025-07-04T06:15:24Z
Modified
2026-04-21T04:32:29.718086Z
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.

References

Affected packages

Azure Linux:2 / libssh

Package

Name
libssh
Purl
pkg:rpm/azure-linux/libssh

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.6-2

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-64650.json"