CVE-2025-5372
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
libssh
- Vendor
- libssh
- Product
- libssh
- Platforms
- Unknown
- Default status
unaffected- Package
- libssh
- Package collection
- https://git.libssh.org/projects/libssh.git
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0 | affected | semver | 0.11.2 | Unavailable | None listed |
Red Hat Enterprise Linux 8
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-16.el8_10 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-16.el8_10 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.4-2.el8_4.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.4-2.el8_4.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-4.el8_6.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-4.el8_6.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-13.el8_8.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-13.el8_8.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0:0.9.6-3.el9_0.2 | unaffected | rpm | * | Unavailable | None listed |
Red Hat Enterprise Linux 10
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 10
- Platforms
- Unknown
- Default status
unaffected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
No explicit version tuples; consult this entry's default status.
Red Hat Enterprise Linux 6
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 6
- Platforms
- Unknown
- Default status
unknown- Package
- libssh2
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
No explicit version tuples; consult this entry's default status.
Red Hat Enterprise Linux 7
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 7
- Platforms
- Unknown
- Default status
unknown- Package
- libssh2
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
No explicit version tuples; consult this entry's default status.
Red Hat Enterprise Linux 9
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 9
- Platforms
- Unknown
- Default status
affected- Package
- libssh
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
No explicit version tuples; consult this entry's default status.
Red Hat OpenShift Container Platform 4
- Vendor
- Red Hat
- Product
- Red Hat OpenShift Container Platform 4
- Platforms
- Unknown
- Default status
affected- Package
- openshift/ose-rhel-coreos-8
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
No explicit version tuples; consult this entry's default status.
Red Hat OpenShift Container Platform 4
- Vendor
- Red Hat
- Product
- Red Hat OpenShift Container Platform 4
- Platforms
- Unknown
- Default status
unaffected- Package
- openshift/ose-rhel-coreos-9
- Package collection
- https://access.redhat.com/downloads/content/package-browser/
No explicit version tuples; consult this entry's default status.