Medium severity · published Jul 24, 2025
CVE-2025-8114
A flaw was found in libssh, a library that implements the SSH protocol
4.7
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libssh · Libssh
through 0.11.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-8114
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-8114
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:18683
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2025-8114
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2383220
git.libssh.org
https://git.libssh.org/projects/libssh.git/commit/?id=53ac23ded4cb2c5463f6c4cd1525331bd578812d
git.libssh.org
https://git.libssh.org/projects/libssh.git/commit/?id=65f363c9
www.libssh.org
https://www.libssh.org/security/advisories/CVE-2025-8114.txt
More from Libssh
9.1
CVE-2018-10933
A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4
8.8
CVE-2026-59851
Libssh: libssh: authentication bypass via missing gssapi principal check
8.8
CVE-2025-5372
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
8.8
CVE-2019-14889
A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8
8.2
CVE-2026-0966
Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
