Answer in brief
CVE-2025-5372 records a Medium severity (CVSS 5.0) vulnerability in Libssh: incorrect return code handling in ssh_kdf() in libssh. The current sources do not mark it as known exploited. The current feed maps libssh/libssh (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.0. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps libssh/libssh (generic). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| libssh/libsshgeneric | >=0 <0.11.2 | 0.11.2 |
Published upstream
Jul 4, 2025
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Sep 1, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 6, 2026
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.
Quoted source text, attributed separately from HOL analysis.