CVE-2025-5372

Public on 2025-06-27
Modified on 2025-06-27
Description
ssh_kdf() returns a success code on certain failures for libssh built with OpenSSL < 3.0

This is caused by the alias of OpenSSL return value 0 (failure) with libssh
SSH_OK (0). Returning success code from the ssh_kdf() function without
initializing the output buffers can lead to use of uninitialized cryptographic
keys and failing to encrypt/decrypt following communication
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
5.0
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2023 libssh Not Affected

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L