CVE-2025-8114

Libssh: null pointer dereference in libssh kex session id calculation

State
Published
Severity
4.7 Medium
Published
Jul 24, 2025
Updated
Sep 1, 2026
Reserved
Jul 24, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

Affected Products

ProductVersions
libssh
  • before 0.11.3Affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-18.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-18.el9 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat OpenShift Container Platform 4Red Hat
            Red Hat OpenShift Container Platform 4Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.