CVE-2025-8114
published 2025-07-24CVE-2025-8114: 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…
PriorityP416medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.22%
12.2th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libssh | < libssh 0.10.6-0+deb12u2 (bookworm) | libssh 0.10.6-0+deb12u2 (bookworm) |
| libssh | libssh | <= 0.11.2 | — |
| libssh | libssh | >= 0 < 0.9.8-0+deb11u2 | 0.9.8-0+deb11u2 |
| libssh | libssh | >= 0 < 0.10.6-0+deb12u2 | 0.10.6-0+deb12u2 |
| libssh | libssh | >= 0 < 0.11.2-1+deb13u1 | 0.11.2-1+deb13u1 |
| libssh | libssh | >= 0 < 0.11.3-1 | 0.11.3-1 |
| msrc | azl3_libssh_0.10.6-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_libssh_0.10.6-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_libssh_0.10.6-4_on_azure_linux_3.0 | — | — |
| msrc | azl3_libssh_0.10.6-5_on_azure_linux_3.0 | — | — |
| msrc | cbl2_libssh_0.10.6-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_libssh_0.10.6-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_libssh_0.10.6-5_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_msrc4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-fpr2-pgq7-qwg4: A flaw was found in libssh, a library that implements the SSH protocol
ghsa_unreviewed·2025-07-25
CVE-2025-8114 [MEDIUM] CWE-476 GHSA-fpr2-pgq7-qwg4: A flaw was found in libssh, a library that implements the SSH protocol
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.
OSV
CVE-2025-8114: A flaw was found in libssh, a library that implements the SSH protocol
osv·2025-07-24·CVSS 4.7
CVE-2025-8114 [MEDIUM] CVE-2025-8114: A flaw was found in libssh, a library that implements the SSH protocol
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.
Ubuntu
libssh vulnerability
vendor_ubuntu·2025-11-04
CVE-2025-8114 libssh vulnerability
Title: libssh vulnerability
Summary: libssh could be made to crash.
Philippe Antoine discovered that libssh did not properly manage memory
when calculating a session id during the key exchange process. An attacker
could possibly use this issue to cause libssh to crash, resulting in a
denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
libssh: NULL Pointer Dereference in libssh KEX Session ID Calculation
vendor_redhat·2025-07-24·CVSS 4.7
CVE-2025-8114 [MEDIUM] CWE-476 libssh: NULL Pointer Dereference in libssh KEX Session ID Calculation
libssh: NULL Pointer Dereference in libssh KEX Session ID Calculation
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.
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.
Statement: The Red Hat Product Security team has assessed the severity of this vulnerability as Moderate, due to its local attack vector and high complexity of
Microsoft
: null pointer dereference in libssh kex session id calculation
vendor_msrc·2025-07-08·CVSS 4.7
CVE-2025-8114 [MEDIUM] CWE-476 : null pointer dereference in libssh kex session id calculation
: null pointer dereference in libssh kex session id calculation
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: htt
Debian
CVE-2025-8114: libssh - A flaw was found in libssh, a library that implements the SSH protocol. When cal...
vendor_debian·2025·CVSS 4.7
CVE-2025-8114 [MEDIUM] CVE-2025-8114: libssh - A flaw was found in libssh, a library that implements the SSH protocol. When cal...
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.
Scope: local
bookworm: resolved (fixed in 0.10.6-0+deb12u2)
bullseye: resolved (fixed in 0.9.8-0+deb11u2)
forky: resolved (fixed in 0.11.3-1)
sid: resolved (fixed in 0.11.3-1)
trixie: resolved (fixed in 0.11.2-1+deb13u1)
No detection rules found.
No public exploits indexed.
https://access.redhat.com/errata/RHSA-2026:18683https://access.redhat.com/security/cve/CVE-2025-8114https://bugzilla.redhat.com/show_bug.cgi?id=2383220https://git.libssh.org/projects/libssh.git/commit/?id=53ac23ded4cb2c5463f6c4cd1525331bd578812dhttps://git.libssh.org/projects/libssh.git/commit/?id=65f363c9https://www.libssh.org/security/advisories/CVE-2025-8114.txt
2025-07-24
Published