# CVE-2025-8114: Libssh: null pointer dereference in libssh kex session id calculation

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-24 · Modified: 2026-11-24
- Aliases: SUSE-SU-2025:4408-1, UBUNTU-CVE-2025-8114, USN-7849-1, DEBIAN-CVE-2025-8114, CGA-56gm-m8pc-7762, CGA-jr8f-qhr2-qmfv, ALPINE-CVE-2025-8114
- Record: https://cvemate.com/vulnerability/CVE-2025-8114 · JSON: https://cvemate.com/vulnerability/CVE-2025-8114/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.265%, percentile 19.657%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.11.3-r0
- chainguard libssh-dev (Chainguard): \< 0.11.3-r0
- wolfi libssh-dev (Wolfi): \< 0.11.3-r0
- debian libssh (Debian): \< 0.10.6-0+deb12u2 \| \< 0.11.2-1+deb13u1 \| \< 0.11.3-1
- ubuntu libssh (Ubuntu): \< 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
- libssh libssh: ≤ 0.11.2
- suse libssh&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 0.6.3-12.21.1

## References

- <https://access.redhat.com/errata/RHSA-2026:18683>
- <https://access.redhat.com/security/cve/CVE-2025-8114>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2383220>
- <https://git.libssh.org/projects/libssh.git/commit/?id=53ac23ded4cb2c5463f6c4cd1525331bd578812d>
- <https://git.libssh.org/projects/libssh.git/commit/?id=65f363c9>
- <https://www.libssh.org/security/advisories/CVE-2025-8114.txt>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254408-1/>
- <https://bugzilla.suse.com/1246974>
- <https://www.suse.com/security/cve/CVE-2025-8114>
- <https://ubuntu.com/security/CVE-2025-8114>
- <https://www.cve.org/CVERecord?id=CVE-2025-8114>
- <https://ubuntu.com/security/notices/USN-7849-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-8114>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://git.libssh.org/projects/libssh.git/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8114.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-8114>
- <https://security.alpinelinux.org/vuln/CVE-2025-8114>

---

Data as of 2026-12-05T09:59:01.307Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
