Cyber Resilience

CVE-2025-5372

Redhat Enterprise Linux 10.0 … 9.0

Published
04 July 2025
Modified
17 June 2026
CVSS Score v3.1 5.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0043 36th percentile
Risk Priority 40 floored blend · peak EPSS

Summary

CVE-2025-5372 is a medium-severity Incorrect Calculation (CWE-682) vulnerability in Redhat Enterprise Linux. Its CVSS base score is 5.0 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 36th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-5318Same product: Libssh Libssh
CVE-2025-5351Same product: Libssh Libssh
CVE-2026-0966Same product: Libssh Libssh
CVE-2026-15370Same product: Libssh Libssh
CVE-2026-59850Same product: Libssh Libssh
CVE-2026-59842Same product: Libssh Libssh
CVE-2026-0964Same product: Libssh Libssh
CVE-2023-6918Same product: Libssh Libssh
CVE-2026-0965Same product: Libssh Libssh
CVE-2026-0967Same product: Libssh Libssh

Affected Assets

libssh
libssh
≤ 0.11.2
redhat
openshift container platform
4.0
redhat
enterprise linux
10.0, 6.0, 7.0, 8.0, 9.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V15.2.2

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation directly exercises calculations and can discover incorrect or unintended results used in security decisions.

Requiring documented development processes and standards can enforce coding rules and tool usage that reduce introduction of calculation errors.

Engineering principles applied during design and implementation can require verified algorithms and safe arithmetic that structurally avoid incorrect calculation results.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent incorrect calculations via reviews, testing, and verification in security-critical code.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development and acceptance can detect calculation flaws before deployment.

prevents

Secure development lifecycle mandates verification steps that catch incorrect calculations before they reach production.

prevents

Application security requirements can explicitly call for numeric accuracy and bounds checking.

degrades

Secure architecture principles include input validation and safe arithmetic design that reduce calculation errors.

prevents

Secure coding standards directly prohibit unsafe arithmetic and require defensive checks against incorrect results.

References