4.7Medium

CVE-2025-8114Libssh: null pointer dereference in libssh kex session id calculation

libssh; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 6 Published: (1 year ago)

Description

A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the client or server to crash.

Weakness (CWE): CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
enterprise linux 9 —
libssh libssh ≤ 0.11.2
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 6 —
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat OpenShift Container Platform 4 all versions
— libssh < 0.11.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* ≤ 0.11.2