CVE-2025-8114 json
Libssh: null pointer dereference in libssh kex session id calculation
published 2025-07-24 15 mo ago modified 2026-11-05 3 d ago also EUVD-2025-22513 , JLSEC-2025-99
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia libssh_jll 0.11.3+0
- Red Hat Red Hat Enterprise Linux 9 0:0.10.4-18.el9
- libssh Debian 12 0.10.6-0+deb12u2
- libssh Debian 13 0.11.2-1+deb13u1
- libssh Debian 14 0.11.3-1
debian advisories DEBIAN-CVE-2025-8114
- libssh Ubuntu 22.04 LTS 0.9.6-2ubuntu0.22.04.5
- libssh Ubuntu 24.04 LTS 0.10.6-2ubuntu0.2
- libssh Ubuntu 25.10 0.11.2-1ubuntu0.1
- libssh Ubuntu Pro 16.04 LTS 0.6.3-4.3ubuntu0.6+esm3
- libssh Ubuntu Pro 18.04 LTS 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm5
- libssh Ubuntu Pro 20.04 LTS 0.9.3-2ubuntu2.5+esm2
ubuntu advisories UBUNTU-CVE-2025-8114
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh RHEL 9 0.10.4-18.el9
- libssh-config RHEL 9 0.10.4-18.el9
red hat advisories RHSA-2026:18683
- libssh SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 0.9.8-150400.3.12.1
- libssh SLE Micro 5.2, SLE Micro 5.1 0.9.8-150200.13.12.1
- libssh Linux Micro 6.1 0.10.6-slfo.1.1_3.1
- libssh Linux Micro 6.0 0.10.6-3.1
- libssh SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 0.9.8-150600.11.6.1
- libssh SLES LTSS Extended Security 12 SP5 0.6.3-12.21.1
- libssh SLES LTSS Extended Security 12 SP5 0.9.8-3.18.1
suse advisories SUSE-SU-2025:4408-1SUSE-SU-2025:3788-1SUSE-SU-2025:3787-1SUSE-SU-2025:20894-1SUSE-SU-2025:20847-1SUSE-SU-2025:03369-1
- libssh openSUSE Tumbleweed 0.11.3-1.1
opensuse advisories openSUSE-SU-2025:15545-1
- libssh AlmaLinux 9 0.10.4-18.el9
- libssh-config AlmaLinux 9 0.10.4-18.el9
almalinux advisories ALSA-2026:18683
- libssh Rocky Linux 9 0.10.4-18.el9
rocky linux advisories RLSA-2026:18683
- libssh Alpine 3.24, Alpine 3.23 0.11.3-r0
alpine advisories ALPINE-CVE-2025-8114
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh CBL-Mariner 2.0, Azure Linux 3.0 0.10.6-5
azure linux advisories AZL-66255AZL-66267
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-8114 updated cvss 4.7
libssh: NULL Pointer Dereference in libssh KEX Session ID Calculation
-
Red Hat Enterprise Linux 8 libssh, libssh-config Red Hat Enterprise Linux 10 libssh Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 9) libssh-devel 0.10.4-18.el9, libssh-debuginfo 0.10.4-18.el9, libssh-debugsource 0.10.4-18.el9 Red Hat Enterprise Linux BaseOS (v. 9) libssh 0.10.4-18.el9, libssh-config 0.10.4-18.el9fixed: vendor fix RHSA-2026:18683
-
Red Hat Enterprise Linux 6 libssh2 Red Hat Enterprise Linux 7 libssh2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | libssh_jll | <0.11.3+0 |
0.11.3+0 |
Affected products
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
git.libssh.org
/projects/libssh.git/commit/?id=53ac23ded4cb2c5463f6c4cd1525331bd578812d
web
-
git.libssh.org
/projects/libssh.git/commit/?id=65f363c9
web
-
access.redhat.com
/errata/RHSA-2026:18683
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2025-8114
vdb-entry, third-party-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2383220
issue-tracking, third-party-advisory, web
-
libssh.org
/security/advisories/CVE-2025-8114.txt
web
Sources
- CVE List CVE-2025-8114
- NVD CVE-2025-8114
- OSV JLSEC-2025-99
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.