CVE Database
/

CVE-2025-5372

Back to search

CVE-2025-5372

Published: Jul 4, 2025

Modified: May 26, 2026

PUBLISHED

CVSS v3.1

5.0

MEDIUM

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.

VendorProductVersions

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

Network

Attack Complexity

High

Privileges Required

Low

User Interaction

None

Scope

Unchanged

Confidentiality

Low

Integrity

Low

Availability

Low

References

RHSA-2025:21977
vendor-advisory
x_refsource_REDHAT
RHSA-2025:23024
vendor-advisory
x_refsource_REDHAT
RHSA-2026:20610
vendor-advisory
x_refsource_REDHAT
RHBZ#2369388
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now