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 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:Jun 24, 2025
Last Modified:Jun 15, 2026
EPS:Jul 4, 2025
EPSS Score:0.00301
CVSS Score:5
Affected Products
Vendor
Product
Action
Vendor
Libssh
Product
Libssh
Libssh
Libssh
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Openshift
Redhat
Openshift
Vendor
Redhat
Product
Openshift Container Platform
Redhat
Openshift Container Platform
Vendor
Redhat
Product
Rhel Aus
Redhat
Rhel Aus
Vendor
Redhat
Product
Rhel E4s
Redhat
Rhel E4s
Vendor
Redhat
Product
Rhel Eus Long Life
Redhat
Rhel Eus Long Life
Vendor
Redhat
Product
Rhel Tus
Redhat
Rhel Tus
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
