CVE record · CVE-2025-5372

Libssh: incorrect return code handling in ssh_kdf() in libssh

CVSS 5.0 MediumEPSS 0.0050 · 43rd percentile

Published by the CVE Program (CNA: redhat) at 4 Jul 2025, 06:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
libssh libssh Package name: libssh https://git.libssh.org/projects/libssh.git
  • affected before 0.11.2 semver
Other versions: unaffected
Red Hat Red Hat Enterprise Linux 8 Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-16.el8_10 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8 Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-16.el8_10 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.4-2.el8_4.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.4-2.el8_4.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-4.el8_6.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-4.el8_6.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-13.el8_8.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-13.el8_8.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Package name: libssh https://access.redhat.com/downloads/content/package-browser/
  • unaffected 0:0.9.6-3.el9_0.2 to before * rpm
Other versions: affected
Red Hat Red Hat Enterprise Linux 10 Package name: libssh https://access.redhat.com/downloads/content/package-browser/ No versions given Other versions: unaffected
Red Hat Red Hat Enterprise Linux 6 Package name: libssh2 https://access.redhat.com/downloads/content/package-browser/ No versions given Other versions: unknown
Red Hat Red Hat Enterprise Linux 7 Package name: libssh2 https://access.redhat.com/downloads/content/package-browser/ No versions given Other versions: unknown
Red Hat Red Hat Enterprise Linux 9 Package name: libssh https://access.redhat.com/downloads/content/package-browser/ No versions given Other versions: affected
Red Hat Red Hat OpenShift Container Platform 4 Package name: openshift/ose-rhel-coreos-8 https://access.redhat.com/downloads/content/package-browser/ No versions given Other versions: affected
Red Hat Red Hat OpenShift Container Platform 4 Package name: openshift/ose-rhel-coreos-9 https://access.redhat.com/downloads/content/package-browser/ No versions given Other versions: unaffected
Identifiers
CVE-2025-5372
CNA
redhat
Weakness (CWE)
CWE-682
Published
4 Jul 2025
Updated
5 Nov 2026

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.0 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L CNA (redhat)
  • CISA KEV Not listed.
  • EPSS 0.0050, the 43rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 4 Jul 2025, 06:01 UTC Confirmed by the CVE List
  2. 4 Jul 2025, 06:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.