CVE-2025-8114: Libssh: null pointer dereference in libssh kex session id calculation
Vulnerability summary
CVE-2025-8114 is a medium (CVSS 4.7) NULL Pointer Dereference vulnerability in libssh. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.6% of scored vulnerabilities.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 8Timeline
- 24-07-2025PublishedVulnerability first disclosed.
- 24-11-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.26% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- libssh< 0.11.3-r0
Chainguard1 product
- libssh-dev< 0.11.3-r0
Debian1 product
- libssh< 0.10.6-0+deb12u2 | < 0.11.2-1+deb13u1 | < 0.11.3-1
Libssh1 product
- libssh≤ 0.11.2
Suse1 product
- libssh&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 0.6.3-12.21.1
Ubuntu1 product
- libssh< 0.6.3-4.3ubuntu0.6+esm3 | < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm5 | < 0.9.3-2ubuntu2.5+esm2 | < 0.9.6-2ubuntu0.22.04.5 | < 0.10.6-2ubuntu0.2 | < 0.11.2-1ubuntu0.1
Wolfi1 product
- libssh-dev< 0.11.3-r0
7 vendors · 7 products
References
18 links- access.redhat.com/security/cve/CVE-2025-8114VDB EntryX Refsource REDHATREPORTAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2383220Issue TrackingX Refsource REDHATREPORTThird Party Advisory