Skip to main content
CVE Radar
MEDIUM

CVE-2025-5372

CVE-2025-5372 — Libssh: incorrect return code handling in ssh_kdf() in libssh

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.

Published Updated Sources: cvelistV5, redhat

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

<1%

chance of exploitation in 30 days

Affects

Libssh

14 products listed

CVSS base

5.0

MEDIUM

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Partial

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (2)

Products (14)

libsshred hat enterprise linux 8red hat enterprise linux 8 4 advanced mission critical update supportred hat enterprise linux 8 4 extended update support long life add onred hat enterprise linux 8 6 advanced mission critical update supportred hat enterprise linux 8 6 extended update support long life add onred hat enterprise linux 8 8 telecommunications update servicered hat enterprise linux 8 8 update services for sap solutionsred hat enterprise linux 9 0 update services for sap solutionsred hat enterprise linux 10red hat enterprise linux 6red hat enterprise linux 7red hat enterprise linux 9red hat openshift container platform 4

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
5.0CVSS 3.1MEDIUMn/an/acvelistV5

Weakness & attack patterns

  • CWE-682

References

7 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Libsshevery CVE for this vendor
  • Red Hatevery CVE for this vendor
  • CWE-682other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.