HomeLibsshCVE-2025-5372

CVE-2025-5372

MEDIUM
5.0CVSS
Published: 2025-07-04
Updated: 2025-12-10
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack Vector
network
Complexity
high
Privileges
low
User Action
none
Scope
unchanged
Confidentiality
low
Integrity
low
Availability
low
Weaknesses
CWE-682

Metadata

Primary Vendor
LIBSSH
Published
7/4/2025
Last Modified
12/10/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

libssh : libsshredhat : openshift_container_platformredhat : enterprise_linuxredhat : enterprise_linuxredhat : enterprise_linuxredhat : enterprise_linuxredhat : enterprise_linux

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2025-5372 | MEDIUM Severity | CVEDatabase.com | CVEDatabase.com