Null Pointer Dereference in libssh Affects SSH Protocol Functionality
CVE-2025-8114

4.7MEDIUM

What is CVE-2025-8114?

A vulnerability in libssh, a widely-used library for implementing the SSH protocol, can lead to a NULL pointer dereference during the key exchange (KEX) process. This flaw stems from an allocation failure in the cryptographic functions when calculating the session ID. As a result, either the client or server may experience crashes, posing significant stability risks for applications relying on secure SSH connections.

References

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Jakub Jelen and Philippe Antoine for reporting this issue.
.
CVE-2025-8114 : Null Pointer Dereference in libssh Affects SSH Protocol Functionality