CVE-2025-8114 | 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.

Published: 2025-07-24 Last update: 2026-06-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-8114 is rated Low Risk (31.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.16%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-8114

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-20 0.01% 0.16% +0.15%
2 2025-07-25 0.01%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-8114

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.7 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.0 3.6 [email protected]
4.7 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.0 3.6 [email protected]

Weakness enumeration for CVE-2025-8114

GitHub Security Advisory for CVE-2025-8114

GHSA-fpr2-pgq7-qwg4 · Severity: medium — A flaw was found in libssh, a library that implements the SSH protocol. When calculating the...

OS Trackers for CVE-2025-8114

vendor priority summary link
alpine CVE-2025-8114: 1 source package rows (libssh); 18 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 2, open 16. https://security.alpinelinux.org/vuln/CVE-2025-8114
debian not yet assigned CVE-2025-8114 not yet assigned priority: Debian including 1 source packages (libssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-8114
redhat medium https://access.redhat.com/security/cve/CVE-2025-8114
suse medium CVE-2025-8114 severity moderate: SUSE including 342 source package names (0.0.17-1.1:libssh-config-0.9.8-150600.11.6.1, 0.0.17-1.1:libssh4-0.9.8-150600.11.6.1, …), 977 product×package rows across 331 product lines (Container bci/kiwi, Container bci/spack, … (331 product lines)): Fixed 746, Known Affected 231. https://www.suse.com/security/cve/CVE-2025-8114/
ubuntu low CVE-2025-8114 low priority: Ubuntu including 1 source packages (libssh), 8 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2025-8114

Affected software / configurations for CVE-2025-8114

Vendor Product Version Raw CPE
libssh libssh <= 0.11.2 cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*

References for CVE-2025-8114

cvelogic Threat Intelligence