Medium severity5.0NVD Advisory· Published Jul 4, 2025· Updated Jun 15, 2026
CVE-2025-5372
CVE-2025-5372
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
46cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
- cpe:/a:redhat:openshift:4
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*+ 9 more
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- cpe:/a:redhat:enterprise_linux:8::appstreamrange: 0:0.9.6-16.el8_10
- cpe:/o:redhat:enterprise_linux:10
- cpe:/o:redhat:enterprise_linux:6
- cpe:/o:redhat:enterprise_linux:7
- cpe:/o:redhat:enterprise_linux:9
- cpe:/a:redhat:rhel_e4s:9.0::appstreamRange: 0:0.9.6-3.el9_0.2
- osv-coords30 versionspkg:rpm/almalinux/libsshpkg:rpm/almalinux/libssh-configpkg:rpm/almalinux/libssh-develpkg:rpm/opensuse/libssh&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/libssh&distro=openSUSE%20Tumbleweedpkg:rpm/suse/libssh&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/libssh&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/libssh&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/libssh&distro=SUSE%20Manager%20Server%204.3
< 0.9.6-16.el8_10+ 29 more
- (no CPE)range: < 0.9.6-16.el8_10
- (no CPE)range: < 0.9.6-16.el8_10
- (no CPE)range: < 0.9.6-16.el8_10
- (no CPE)range: < 0.9.8-150600.11.3.1
- (no CPE)range: < 0.11.2-1.1
- (no CPE)range: < 0.9.8-150200.13.9.1
- (no CPE)range: < 0.9.8-150200.13.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150200.13.9.1
- (no CPE)range: < 0.9.8-150200.13.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150600.11.3.1
- (no CPE)range: < 0.9.8-150600.11.3.1
- (no CPE)range: < 0.9.8-3.15.1
- (no CPE)range: < 0.9.8-150200.13.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150200.13.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-3.15.1
- (no CPE)range: < 0.10.6-2.1
- (no CPE)range: < 0.10.6-slfo.1.1_2.1
- (no CPE)range: < 0.9.8-150400.3.9.1
- (no CPE)range: < 0.9.8-150400.3.9.1
Patches
Vulnerability mechanics
References
7- access.redhat.com/security/cve/CVE-2025-5372nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- access.redhat.com/errata/RHSA-2025:21977nvd
- access.redhat.com/errata/RHSA-2025:23024nvd
- access.redhat.com/errata/RHSA-2026:20610nvd
- access.redhat.com/errata/RHSA-2026:24349nvd
- access.redhat.com/errata/RHSA-2026:25911nvd
News mentions
0No linked articles in our index yet.