Medium severity · published Jul 24, 2025
CVE-2025-8114
Libssh: null pointer dereference in libssh kex session id calculation
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
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenShift Container Platform 4 · Red Hat
All versions, or not specified · source: vendor
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 Red Hat Enterprise Linux 10
7.8
CVE-2026-46300
net: skbuff: preserve shared-frag marker during coalescing
7.8
CVE-2026-31431
crypto: algif_aead - Revert to operating out-of-place
7.5
CVE-2026-34486
Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor
10.0
CVE-2026-46595
Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
10.0
CVE-2026-34078
Flatpak has a complete sandbox escape leading to host file access and code execution in the host context
