Logo
vulnerabilityCVE-2025-5372
Name
CVE-2025-5372
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libssh
Patched

Vulnerability Ratings#


5
CVSSv31
8.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
0.11.4
Not Affected
buildroot
master
0.12.0
Not Affected
openwrt
master
0.12.0-r1
Not Affected
openwrt
openwrt-25.12
0.11.3-r1
Not Affected
yocto
kirkstone
0.8.9
Exploitable
yocto
master
0.11.4
Not Affected

Resolved with patches#


libssh (yocto:scarthgap)

#
Title
Author
Resolve
1
CVE-2025-5372 libgcrypto: Simplify error checking and handling of
Jakub Jelen <jjelen@redhat.com>
CVE-2025-5372