CVE-2025-5372
Published: Jul 4, 2025
Modified: May 26, 2026
CVSS v3.1
5.0
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.
| Vendor | Product | Versions |
|---|---|---|
libssh | libssh | affected 0 - < 0.11.2 |
Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:0.9.6-16.el8_10 - < * |
Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:0.9.6-16.el8_10 - < * |
Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | unaffected 0:0.9.6-13.el8_8.2 - < * |
Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | unaffected 0:0.9.6-13.el8_8.2 - < * |
Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | unaffected 0:0.9.6-3.el9_0.2 - < * |
Red Hat | Red Hat Enterprise Linux 10 | All versions |
Red Hat | Red Hat Enterprise Linux 6 | All versions |
Red Hat | Red Hat Enterprise Linux 7 | All versions |
Red Hat | Red Hat Enterprise Linux 9 | All versions |
Red Hat | Red Hat OpenShift Container Platform 4 | All versions |
Weaknesses (CWE)
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now