cbcvebase.
CVE-2025-5372
published 2025-07-04

CVE-2025-5372: 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…

PriorityP350high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.41%
33.0th percentile
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.

Affected

18 ranges
VendorProductVersion rangeFixed in
debianlibssh< libssh 0.10.6-0+deb12u2 (bookworm)libssh 0.10.6-0+deb12u2 (bookworm)
libsshlibssh< 0.11.20.11.2
libsshlibssh>= 0 < 0.9.8-0+deb11u20.9.8-0+deb11u2
libsshlibssh>= 0 < 0.10.6-0+deb12u20.10.6-0+deb12u2
libsshlibssh>= 0 < 0.11.2-10.11.2-1
libsshlibssh>= 0 < 0.11.2-10.11.2-1
libsshlibssh>= 0 < 0.9.6-2ubuntu0.22.04.40.9.6-2ubuntu0.22.04.4
libsshlibssh>= 0 < 0.10.6-2ubuntu0.10.10.6-2ubuntu0.1
msrcazl3_libssh_0.10.6-1_on_azure_linux_3.0
msrcazl3_libssh_0.10.6-2_on_azure_linux_3.0
msrccbl2_libssh_0.10.6-1_on_cbl_mariner_2.0
msrccbl2_libssh_0.10.6-2_on_cbl_mariner_2.0
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux
redhatopenshift_container_platform

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian5.0MEDIUM
vendor_msrc5.0MEDIUM
vendor_oracle5.0MEDIUM
vendor_redhat5.0MEDIUM
vendor_ubuntu4.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.