Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-64794.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-64794
Upstream
Published
2025-07-07T15:15:28Z
Modified
2026-04-21T04:32:33.436175Z
Summary
CVE-2025-5987 affecting package libssh for versions less than 0.10.6-2
Details

A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.

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-64794.json"